Class Sfml.input


class input : pointer -> object .. end
Input provides high-level access to the state (pressed or not) of keys and mouse buttons

method isKeyDown : keycode -> bool
Check if a key/button is pressed
method isMouseButtonDown : mouseButton -> bool
method isJoystickButtonDown : int -> int -> bool
method getMouseX : int
Get mouse position
method getMouseY : int
method getJoystickAxis : int -> joyAxis -> float
Get joystick position