Skip to content

RawInput

Input typessource

Fields

controller

ControllerInput[]read only

State of controller buttons per controller. Zero-based indexing, i.e. use GameProps.input_index directly to index this.

source

keyboard

KeyboardKey[]read only

State of all keyboard buttons in a random game order as usual, most key indexes can be found in RAW_KEY. Zero-based indexing, i.e. use PlayerSlot.input_mapping_keyboard directly to index this.

source