From c87713cf5315fffe32a20196e1c5ffbf613db5dc Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Tue, 7 Nov 2023 18:42:45 +0100 Subject: [PATCH] Add xboxdrv hyperx clutch config --- .config/xboxdrv/hyperx-clutch.conf | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .config/xboxdrv/hyperx-clutch.conf diff --git a/.config/xboxdrv/hyperx-clutch.conf b/.config/xboxdrv/hyperx-clutch.conf new file mode 100644 index 0000000..f8d4e3b --- /dev/null +++ b/.config/xboxdrv/hyperx-clutch.conf @@ -0,0 +1,38 @@ +[xboxdrv] +rumble = false +mimic-xpad = true +evdev-debug = true +evdev-grab = true +evdev = /dev/input/by-id/usb-HP__Inc_HyperX_Clutch_V1.2.1_20210714_2-event-joystick + +[evdev-absmap] +ABS_HAT0X = dpad_x +ABS_HAT0Y = dpad_y + +ABS_X = X1 +ABS_Y = Y1 + +ABS_Z = X2 +ABS_RZ = Y2 + +ABS_GAS=rt +ABS_BRAKE=lt + +[axismap] +-Y1 = Y1 +-Y2 = Y2 + +[evdev-keymap] +BTN_EAST=b +BTN_NORTH=x +BTN_SOUTH=a +BTN_WEST=y +BTN_TR2=rt +BTN_TL2=lt +BTN_TR=rb +BTN_TL=lb +BTN_THUMBL=tl +BTN_THUMBR=tr +BTN_START=start +BTN_SELECT=back +BTN_MODE = guide