Legacy:Functions/Input

From Spherical
Jump to: navigation, search

Input

Player Input

  • GetPlayerKey(player, player_key): Returns the key constant associated with the configurable player key of 'player'.
    • Allowed 'player' values are 0 - 3 or:
      PLAYER_1
      PLAYER_2
      PLAYER_3
      PLAYER_4
    • Allowed 'player_key' values are:
      PLAYER_KEY_MENU
      PLAYER_KEY_UP
      PLAYER_KEY_DOWN
      PLAYER_KEY_LEFT
      PLAYER_KEY_RIGHT
      PLAYER_KEY_A
      PLAYER_KEY_B
      PLAYER_KEY_X
      PLAYER_KEY_Y

API:Functions/Input/Keyboard

API:Functions/Input/Mouse

API:Functions/Input/Joystick