Skip to content

Instantly share code, notes, and snippets.

@NeoTheFox
Last active June 13, 2017 15:01
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 NeoTheFox/b3984d3e0a5371618e61 to your computer and use it in GitHub Desktop.
Save NeoTheFox/b3984d3e0a5371618e61 to your computer and use it in GitHub Desktop.
iPEGA PG-9017S xboxdv configuration
#iPEGA PG-9017S Config by NeoTheFox, 2015
#Launch with sudo xboxdrv --evdev /dev/input/event<your joystick> --config xboxdrv.conf
#To check what /dev/input event is yours try using evtest
#or create a udev rule with something like this:
#
# ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="Bluetooth Gamepad", ATTRS{uniq}=="00:17:02:01:ae:2a", SYMLINK+="ipega"
#
#replacing name and uniq with your values. This would make udev
#symlink the appropriate event device to /dev/ipega
[xboxdrv]
evdev-debug = true
evdev-grab = true
rumble = false
mimic-xpad = true
[evdev-absmap]
ABS_HAT0X = dpad_x
ABS_HAT0Y = dpad_y
ABS_X = X1
ABS_Y = Y1
ABS_Z = X2
ABS_RZ = Y2
[axismap]
-Y1 = Y1
-Y2 = Y2
[evdev-keymap]
BTN_EAST=a
BTN_C=b
BTN_NORTH=y
BTN_SOUTH=x
BTN_TR2=start
BTN_TL2=back
BTN_Z=rt
BTN_WEST=lt
BTN_MODE = guide
# EOF #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment