mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
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:
@@ -1,2 +1,2 @@
|
||||
#!/bin/busybox sh
|
||||
loadmap /mnt/joymap.map -b
|
||||
loadmap /mnt/joymap.map -d -b
|
@@ -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
|
||||
|
Reference in New Issue
Block a user