Skip to content

Instantly share code, notes, and snippets.

@Soulwest
Created January 2, 2022 09:02
Show Gist options
  • Save Soulwest/42753adf65783aab12f95e495dba50bc to your computer and use it in GitHub Desktop.
Save Soulwest/42753adf65783aab12f95e495dba50bc to your computer and use it in GitHub Desktop.
xboxdrv --evdev /dev/input/event30 --evdev-absmap ABS_X=x1,ABS_Y=y1,ABS_RZ=x2,ABS_Z=y2,ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y --axismap -Y1=Y1,-Y2=Y2 --evdev-keymap BTN_NORTH=x,BTN_WEST=y,BTN_SOUTH=a,BTN_EAST=b,BTN_SELECT=back,BTN_START=start,BTN_TL=lb,BTN_TR=rb,BTN_TL2=lt,BTN_TR2=rt,BTN_THUMBL=tl,BTN_THUMBR=tr --mimic-xpad --silent &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment