Skip to content

Instantly share code, notes, and snippets.

@thebodzio
Created April 23, 2015 21:54
Show Gist options
  • Save thebodzio/cde439f004cc1128a64e to your computer and use it in GitHub Desktop.
Save thebodzio/cde439f004cc1128a64e to your computer and use it in GitHub Desktop.
xboxdrv config file for Esperanza EG102 gamepad
# xpad emulation mappings for
# Esperanza EG102
[xboxdrv]
evdev = /dev/input/gamepad-esperanza-eg102
silent = true
mimic-xpad = true
[evdev-absmap]
ABS_X = x1
ABS_Y = y1
ABS_Z = x2
ABS_RZ = y2
[evdev-keymap]
BTN_TRIGGER = y
BTN_THUMB2 = a
BTN_TOP = x
BTN_THUMB = b
BTN_PINKIE = rb
BTN_BASE2 = rt
BTN_TOP2 = lb
BTN_BASE = lt
BTN_BASE3 = back
BTN_BASE4 = start
BTN_BASE5 = tl
BTN_BASE6 = tr
[axismap]
-y1 = y1
-y2 = y2
# EOF #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment