add Linux Joystick Mapper

This commit is contained in:
tiopex
2023-10-10 13:45:26 +02:00
parent 00326eb967
commit 515379acad
8 changed files with 38 additions and 2 deletions

View File

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

View File

@@ -0,0 +1,3 @@
title=Joymap
description=Joy to keyboard mapper
exec=/mnt/apps/joymap/joymap.sh

View 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