Module SFJoystick

module SFJoystick: sig .. end


Online documentation for the Joystick class
val isConnected : joystick:int -> bool
val getButtonCount : joystick:int -> int
val update : unit -> unit
val isButtonPressed : joystick:int -> button:int -> bool
val getMaxJoystickCount : unit -> int
val getMaxJoystickButtonCount : unit -> int
val getMaxJoystickAxisCount : unit -> int
val normaliseDirectionProportional : x:float -> y:float -> float * float
type axis = 
| X
| Y
| Z
| R
| U
| V
| PovX
| PovY
val hasAxis : joystick:int -> axis:axis -> bool
val getAxisPosition : joystick:int -> axis:axis -> float