Add input_info app to discover buttons src numbers, add '-d' parameter to dynamically (during use) compute calibration value so that events are reported in the range -32767 to 32767

This commit is contained in:
tiopex
2023-10-11 09:23:38 +02:00
parent 515379acad
commit 96ee5d9483
3 changed files with 5 additions and 5 deletions

View File

@@ -1,2 +1,2 @@
#!/bin/busybox sh
loadmap /mnt/joymap.map -b
loadmap /mnt/joymap.map -d -b

View File

@@ -1,15 +1,13 @@
#Microsoft X-Box One S pad
button vendor=0x045e product=0x2ea src=16 target=kbd button="leftalt"
button vendor=0x045e product=0x2ea src=17 target=kbd button="leftctrl"
button vendor=0x045e product=0x2ea src=18 target=kbd button=""
button vendor=0x045e product=0x2ea src=19 target=kbd button="leftshift"
button vendor=0x045e product=0x2ea src=20 target=kbd button="space"
button vendor=0x045e product=0x2ea src=21 target=kbd button=""
button vendor=0x045e product=0x2ea src=22 target=kbd button="tab"
button vendor=0x045e product=0x2ea src=23 target=kbd button="backspace"
button vendor=0x045e product=0x2ea src=24 target=kbd button="rightalt"
button vendor=0x045e product=0x2ea src=25 target=kbd button="rightshift"
button vendor=0x045e product=0x2ea src=26 target=kbd button="esc"
button vendor=0x045e product=0x2ea src=27 target=kbd button="enter"
axis vendor=0x045e product=0x2ea src=16 target=kbd plus="right" minus="left" flags=trinary
axis vendor=0x045e product=0x2ea src=17 target=kbd plus="down" minus="up" flags=trinary