Skip to content

KX_InputSystem

Class Range.types.KX_InputSystem.

These items exist in the engine but were not in the Range documentation. The ones marked new in Anastacio were added by Anastacio Engine.

changeJoystickIndex(inputMap, inputTable, name, value)

Section titled “changeJoystickIndex(inputMap, inputTable, name, value)”

method

Changes which gamepad (joystick index) an action uses.

changeKeyMap(inputMap, inputTable, name, keyType, value)

Section titled “changeKeyMap(inputMap, inputTable, name, keyType, value)”

method

Changes the key or button bound to an action. Use it for “rebind controls” menus.

changeSensitivity(inputMap, inputTable, name, value)

Section titled “changeSensitivity(inputMap, inputTable, name, value)”

method

Changes an action sensitivity (e.g. mouse or analog stick).

method

Reloads the input maps from the file. It is slow; avoid calling it repeatedly.

attribute · read-only

Dictionary {map: {table: KX_InputTable}} with all loaded input maps.