Skip to content

Instantly share code, notes, and snippets.

@NeoTheFox NeoTheFox/xboxdrv.conf
Last active Jun 13, 2017

Embed
What would you like to do?
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
You can’t perform that action at this time.