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