Skip to content

Instantly share code, notes, and snippets.

@trdthg
Created November 23, 2022 11:03
Show Gist options
  • Save trdthg/1a0bce9a37f37c287f53fcc59b5d94c6 to your computer and use it in GitHub Desktop.
Save trdthg/1a0bce9a37f37c287f53fcc59b5d94c6 to your computer and use it in GitHub Desktop.
xboxdrv \
--evdev /dev/input/event15 \
--evdev-absmap ABS_X=x1,ABS_Y=y1,ABS_Z=x2,ABS_RZ=y2,ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y \
--axismap -Y1=Y1,-Y2=Y2 \
--mimic-xpad --evdev-debug \
--evdev-keymap BTN_A=a,BTN_B=b,BTN_X=x,BTN_Y=y,BTN_TR=rb,BTN_TR2=rt,BTN_TL=lb,BTN_TL2=lt,BTN_START=start,BTN_SELECT=back,BTN_THUMBL=tl,BTN_THUMBR=tr,BTN_MODE=guide \
--slient \
--endev-debug
# left: to which name
# right: key
@trdthg
Copy link
Author

trdthg commented Nov 23, 2022

also means Dinput to Xinput

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment