View Page Source

Revision (current)
Last Updated by Ilari on 5/4/2012 6:39 AM
Back to Page

!!!Absolute limits of lsnes joystick code:
||Category||SDL||EVDEV||wxWidgets||Win32||
|Joysticks|256|2147483648|2147483647|4294967295|
|Hats/Joystick|256|4|1|1|
|Axes/Joystick|256|56|6|6|
|Buttons/Joystick|256|768|32|32|

Notes:
* These are the limits from lsnes drivers.
* Underlying libraries and the OS may not support this many.
* Win32 SDL builds use SDL joysticks, Win32 wxWidgets build uses Win32 Joysticks.

!!!Xbox 360 controller
!!Hats:
||Control||What||
|hat0|Dpad|
!!Axes:
||Control||What||Config||
|axis0|Left thumbstick horizontal|Axis pair|
|axis1|Left thumbstick vertical|Axis pair|
|axis2|Left Trigger pressure|Pressure - to +|
|axis3|Right thumbstick horizontal|Axis pair|
|axis4|Right thumbstick vertical|Axis pair|
|axis5|Right Trigger pressure|Pressure - to +|
!!Buttons:
||Control||What||
|button0|A|
|button1|B|
|button2|X|
|button3|Y|
|button4|LB|
|button5|RB|
|button6|Back|
|button7|Start|
|button8|Xbox|
|button9|Left Thumbstick press|
|button10|Right Thumbstick press|

!!!Saitek p2900
!!Hats:
||Control||What||
|hat0|Dpad|
!!Axes:
||Control||What||Config||
|axis0|Left thumbstick horizontal|Axis pair|
|axis1|Left thumbstick vertical|Axis pair|
|axis2|Right thumbstick vertical|Axis pair|
|axis3|Right thumbstick horizontal|Axis pair|
!!Buttons:
||Control||What||
|button0|1|
|button1|2|
|button2|3|
|button3|4|
|button4|Left upper trigger|
|button5|Right upper trigger|
|button6|Left lower trigger|
|button7|Right upper trigger|
|button8|Black button|
|button9|White button|
|button10|Left thumbstick press|
|button11|Right thumbstick press|