Last active
January 22, 2021 06:59
-
-
Save shalzz/fa3d74e161fe231c5284387e241ab08c to your computer and use it in GitHub Desktop.
Button mapping config of Motorola gamepad for use with xboxdrv. Example use: `xboxdrv --evdev /dev/input/event16 --config ~/.config/xboxdrv/motogamepad.conf`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Motorola Android TV gamepad Config | |
# Model SZ-A10008 | |
# Hold M+X buttons to pair as gamepad | |
[xboxdrv] | |
evdev-debug = false | |
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_A=a | |
BTN_B=b | |
BTN_Y=y | |
BTN_X=x | |
BTN_TR=rb | |
BTN_TL=lb | |
BTN_TR2=rt | |
BTN_TL2=lt | |
BTN_THUMBL=tl | |
BTN_THUMBR=tr | |
BTN_START=start | |
BTN_SELECT=back | |
BTN_MODE = guide |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Button mapping config of Motorola gamepad for use with xboxdrv.
Example use:
xboxdrv --evdev /dev/input/event16 --config ~/.config/xboxdrv/motogamepad.conf