Skip to content

Instantly share code, notes, and snippets.

@chungy
Last active July 11, 2016 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chungy/cdb3353c7c2829d9894e182842c43c54 to your computer and use it in GitHub Desktop.
Save chungy/cdb3353c7c2829d9894e182842c43c54 to your computer and use it in GitHub Desktop.
[xboxdrv]
evdev = /dev/input/by-id/usb-Microsoft_Controller_7EED8FE138A3-event-joystick
mimic-xpad = true
evdev-grab = true
evdev-debug = false
silent = true
[evdev-absmap]
ABS_HAT0X = dpad_x
ABS_HAT0Y = dpad_y
ABS_X = X1
ABS_Y = Y1
ABS_RX = X2
ABS_RY = Y2
ABS_Z = LT
ABS_RZ = RT
[evdev-keymap]
BTN_TL = LB
BTN_TR = RB
BTN_THUMBL = TL
BTN_THUMBR = TR
BTN_SOUTH = A
BTN_EAST = B
BTN_NORTH = X
BTN_WEST = Y
BTN_SELECT = back
BTN_START = start
BTN_MODE = guide
[axismap]
-Y1=Y1
-Y2=Y2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment