KX_InputTable(EXP_PyObjectPlus)#
base class — EXP_PyObjectPlus
- class KX_InputTable(EXP_PyObjectPlus)#
The current input system context.
- values#
A list of existing value of the input from the last frame. (read-only)
Example to get the values of a 2D VECTOR type bind:
import Range inputSystem = Range.logic.inputSystem.inputMaps values = inputSystem["myMap"]["myTable"].values print("Values: x: {0}, y: {1}".format(values[0], values[1]))
- Type:
tuple of float.
- active#
True if the input was active from the last frame.
- Type:
boolean
- activated#
True if the input was activated from the last frame.
- Type:
boolean
- released#
True if the input was released from the last frame.
- Type:
boolean