2024-09-30 13:43:43 +01:00
|
|
|
structure Input =
|
|
|
|
|
struct
|
|
|
|
|
type window = MLton.Pointer.t
|
|
|
|
|
|
|
|
|
|
(* Constants. *)
|
|
|
|
|
val (PRESS, _) =
|
|
|
|
|
_symbol "PRESS" public : ( unit -> int ) * ( int -> unit );
|
2024-09-30 15:46:19 +01:00
|
|
|
val PRESS = PRESS ()
|
|
|
|
|
|
2024-09-30 13:43:43 +01:00
|
|
|
val (REPEAT, _) =
|
|
|
|
|
_symbol "REPEAT" public : ( unit -> int ) * ( int -> unit );
|
2024-09-30 15:46:19 +01:00
|
|
|
val REPEAT = REPEAT ()
|
|
|
|
|
|
2024-09-30 13:43:43 +01:00
|
|
|
val (RELEASE, _) =
|
|
|
|
|
_symbol "RELEASE" public : ( unit -> int ) * ( int -> unit );
|
2024-09-30 15:46:19 +01:00
|
|
|
val RELEASE = RELEASE ()
|
2024-10-06 08:18:24 +01:00
|
|
|
|
|
|
|
|
val exportFramebufferSizeCallback =
|
|
|
|
|
_export "mltonFramebufferSizeCallback" public : (int * int -> unit) -> unit;
|
2024-09-30 13:43:43 +01:00
|
|
|
end
|