Skip to content

Input

Functions

  • DisableCursor(): Disable the cursor
  • EnableCursor(): Enable the cursor
  • GetJoyStickCount(): Get how many gamepads are connected
  • GetJoystickAxis(): GetJoystickAxis(slot, axis): stick position from -1 to 1, or trigger from 0 to 1 (see JoystickAxis)
  • GetMousePos(): Get mouse position
  • IsJoystickButtonPressed(): IsJoystickButtonPressed(slot, button): whether a gamepad button is held; slots start at 0
  • IsKeyPressed(): Is key pressed
  • IsMouseButtonPressed(): Is the mouse button pressed
  • IsMouseButtonReleased(): Was the mouse button released this frame
  • IsMouseJustPressed(): Was the mouse button pressed this frame
  • SetCursor(): Set the appearance of the cursor
  • SetCursorPosition(): Set the position of the cursor