Skip to content

Key Maps

XBox Wireless:

XBox Key Code 4DGame SDK Code
A 304 BUT_0
B 305 BUT_1
X 307 BUT_2
Y 308 BUT_3
D-PAD X 16 DPAD_X
D-PAD Y 17 DPAD_Y
L1 310 L1
L2 10 L2
R1 311 R1
R2 9 R2
XBox Joystick Dimension Code 4DGame SDK Code
LEFT_X 0 LEFT_X
LEFT_Y 1 LEFT_Y
RIGHT_X 2 RIGHT_X
RIGHT_Y 5 RIGHT_Y

Analog Range: 65536

XBox 360 Wireless:

XBox Key Code 4DGame SDK Code
A 304 BUT_0
B 305 BUT_1
X 307 BUT_2
Y 308 BUT_3
D-PAD X 16 DPAD_X
D-PAD Y 17 DPAD_Y
L1 310 L1
L2 10 L2
R1 311 R1
R2 9 R2
XBox Joystick Dimension Code 4DGame SDK Code
LEFT_X 0 LEFT_X
LEFT_Y 1 LEFT_Y
RIGHT_X 3 RIGHT_X
RIGHT_Y 4 RIGHT_Y

Analog Range: 65536

Bosi Wireless Gamepad GXT 590 (Direct mode):

Bosi Key Code 4DGame SDK Code
A 306 BUT_0
B 305 BUT_1
X 307 BUT_2
Y 304 BUT_3
D-PAD X 16 DPAD_X
D-PAD Y 17 DPAD_Y
L1 308 L1
L21 310 L2
R1 309 R1
R21 311 R2
Bosi Joystick Dimension Code 4DGame SDK Code
LEFT_X 0 LEFT_X
LEFT_Y 1 LEFT_Y
RIGHT_X 2 RIGHT_X
RIGHT_Y 5 RIGHT_Y

Analog Range: 256


  1. not analog 

Back to top