new section for IAL engine singletouchkey

This commit is contained in:
Vincent Wei
2020-11-10 11:06:46 +08:00
parent abaee60a55
commit 73dc293c76

View File

@@ -83,6 +83,19 @@ double_buffering=true
exdriver=libhidrmdrivers-0.2.so.0
#}}
#{{ifdef _MGIAL_SINGLETOUCHKEY
[singletouchkey]
# The touch device; use none to disable touch event.
touch_dev=/dev/input/event0
# The key device; use none to disable key event.
key_dev=none
# The number of keys; only valid if `keydev` defined.
nr_keys=2
# The maps from Linux keycode to MiniGUI scancode; only valid if `nr_keys` > 0.
keycode2scancode0=20,1
keycode2scancode1=50,2
#}}
#{{ifdef _MGIAL_LIBINPUT
[libinput]
seat=seat0