Skip to content

Instantly share code, notes, and snippets.

@TaylanTatli
Created July 22, 2016 16:05
Show Gist options
  • Save TaylanTatli/e6e60dea33c61ed5aec06b3398c0bbbc to your computer and use it in GitHub Desktop.
Save TaylanTatli/e6e60dea33c61ed5aec06b3398c0bbbc to your computer and use it in GitHub Desktop.
# TX Shocker Gamepad
# Microntek USB Joystick
key 288 BUTTON_Y
key 289 BUTTON_B
key 290 BUTTON_A
key 291 BUTTON_X
key 292 BUTTON_L2
key 293 BUTTON_R2
key 294 BUTTON_L1
key 295 BUTTON_R1
key 296 BUTTON_SELECT
key 297 BUTTON_START
# Joystick and game controller axes.
# Axes that are not mapped will be assigned generic axis numbers by the input subsystem.
axis 0x00 X
axis 0x01 Y
axis 0x02 Z
axis 0x03 RX
axis 0x04 RY
axis 0x05 RZ
axis 0x06 THROTTLE
axis 0x07 RUDDER
axis 0x08 WHEEL
axis 0x09 GAS
axis 0x0a BRAKE
axis 0x10 HAT_X
axis 0x11 HAT_Y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment