mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
add Linux Joystick Mapper
This commit is contained in:
2
board/miyoo/main/apps/joymap/joymap.sh
Normal file
2
board/miyoo/main/apps/joymap/joymap.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/busybox sh
|
||||
loadmap /mnt/joymap.map -b
|
3
board/miyoo/main/gmenu2x/sections/applications/joymap
Normal file
3
board/miyoo/main/gmenu2x/sections/applications/joymap
Normal file
@@ -0,0 +1,3 @@
|
||||
title=Joymap
|
||||
description=Joy to keyboard mapper
|
||||
exec=/mnt/apps/joymap/joymap.sh
|
15
board/miyoo/main/joymap.map
Normal file
15
board/miyoo/main/joymap.map
Normal file
@@ -0,0 +1,15 @@
|
||||
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"
|
||||
|
||||
|
||||
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