From 73dc293c760c14dc688d074b49875b366a2c53aa Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Tue, 10 Nov 2020 11:06:46 +0800 Subject: [PATCH] new section for IAL engine `singletouchkey` --- etc/MiniGUI.cfg | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/etc/MiniGUI.cfg b/etc/MiniGUI.cfg index 5410940e..f094bf6e 100644 --- a/etc/MiniGUI.cfg +++ b/etc/MiniGUI.cfg @@ -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