Right I’ve seen that page, I got the files from there.
class bge.types.SCA_JoystickSensor( SCA_ISensor )
This sensor detects player joystick events.
The state of the joysticks axis as a list of values numAxis long. (read-only).
Type : list of ints.
Each specifying the value of an axis between -32767 and 32767 depending on how far the axis is pushed, 0 for nothing. The first 2 values are used by most joysticks and gamepads for directional control. 3rd and 4th values are only on some joysticks and can be used for arbitary controls.
- left:[-32767, 0, …]
- right:[32767, 0, …]
- up:[0, -32767, …]
- down:[0, 32767, …]
like axisValues but returns a single axis value that is set by the sensor. (read-only).
Type : integer
Only use this for “Single Axis” type sensors otherwise it will raise an error.
This has something to do with the control pad?