sxmo-utils/scripts/core
Stacy Harper c427a0eb7b Cleanup input handling
We now use uncontextualized event name from lisgd as leftrightcorner. We
will determine the action name only in the input handler. It allow
events to match multiple action depending on contexts.

We also add some basics events as left/rigth/up/down and
twoleft/tworight/twoup/twodown and use some of them.

Use use twoup and twodown to scroll in less and right left to
change the page.

We also prefer use case switch instead of if conditions.

We remove this HANDLE variable usage and exit directly when the event
has been handled.

We also add some methods as type, key or typeenter to simplify some
code.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-06-13 21:00:50 +02:00
..
sxmo_appmenu.sh add scrot script & add scrot to appmenu 2021-06-06 22:23:15 +02:00
sxmo_audiocurrentdevice.sh sxmo_audio*: properly set vars with default values if they are unset 2021-04-24 01:14:55 -04:00
sxmo_audioout.sh sxmo_audio*: properly set vars with default values if they are unset 2021-04-24 01:14:55 -04:00
sxmo_blinkled.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_bluetoothmenu.sh replace "st -e" with sxmo_terminal.sh and edit it to use st -e instead of st 2021-06-04 21:50:59 +02:00
sxmo_brightness.sh sxmo_brightness.sh: write brightness val directly to sysfs 2021-05-20 09:43:08 +02:00
sxmo_common.sh various minor shellcheck fixes 2021-06-06 15:39:38 +02:00
sxmo_contactmenu.sh Fix shellcheck error 2021-06-13 08:51:53 +02:00
sxmo_contacts.sh sxmo_contacts now can search a contact 2021-06-12 13:35:30 +02:00
sxmo_dmenu.sh Make all sxmo menu SSH mode compatible 2021-04-10 13:20:19 +02:00
sxmo_dmenu_with_kb.sh sxmo_dmenu_with_kb should exit the dmenu exit code 2021-04-23 19:16:32 +02:00
sxmo_edit_screen.sh replace "st -e" with sxmo_terminal.sh and edit it to use st -e instead of st 2021-06-04 21:50:59 +02:00
sxmo_flashtoggle.sh various indentation fixes (spaces to tabs and stripping trailing whitespace) 2020-11-20 18:10:17 +01:00
sxmo_gpsutil.sh replace "st -e" with sxmo_terminal.sh and edit it to use st -e instead of st 2021-06-04 21:50:59 +02:00
sxmo_hotspot.sh Add an automated way to configure a hostspot network 2021-05-20 16:50:04 +02:00
sxmo_inputhandler.sh Cleanup input handling 2021-06-13 21:00:50 +02:00
sxmo_keyboard.sh Use pkill -f for $KEYBOARD 2021-05-11 19:54:11 +00:00
sxmo_killwindow.sh use 2-finger swipe down to close window, 3 to kill window 2021-03-22 19:49:48 +01:00
sxmo_lisgdstart.sh Cleanup input handling 2021-06-13 21:00:50 +02:00
sxmo_lock.sh minor shellcheck fixes after applying latest patches 2021-04-23 19:23:06 +02:00
sxmo_movement.sh Rework the incoming call pickup/discard behavior 2021-04-23 19:16:08 +02:00
sxmo_networks.sh replace "st -e" with sxmo_terminal.sh and edit it to use st -e instead of st 2021-06-04 21:50:59 +02:00
sxmo_open.sh various minor shellcheck fixes 2021-06-06 15:39:38 +02:00
sxmo_pipecomplete.sh Fix and simplify the pipecomplete svkbd managing 2021-05-23 14:25:34 +02:00
sxmo_postwake.sh Suspend Conky during screenlock #177 2021-02-23 19:05:54 +01:00
sxmo_presuspend.sh Use pkill -f for $KEYBOARD 2021-05-11 19:54:11 +00:00
sxmo_proximitylock.sh Rework the sxmo screenlock 2021-06-06 09:41:36 +02:00
sxmo_proximitylocktoggle.sh Add proximity lock toggle on the config menu 2021-04-23 19:16:24 +02:00
sxmo_rotate.sh Fix rotation while simplifying id detection. 2021-05-20 13:50:08 +02:00
sxmo_rotateautotoggle.sh Wileyfox Swift rotate and autorotate fix 2021-05-20 09:09:45 +02:00
sxmo_rtcwake.sh Implementing optional rtc wakeup at regular intervals, added presuspend, rtcwake and postwake scripts (with hooks) 2020-10-31 12:13:22 +01:00
sxmo_screenlock.sh added some output verbosity in sxmo_screenlock and optimised some things 2021-06-09 08:42:51 +02:00
sxmo_setpermissions.sh fix: path should be absolute 2021-03-18 19:21:41 +01:00
sxmo_statusbar.sh add battery percentage to status bar 2021-06-06 15:32:35 +02:00
sxmo_statusbarupdate.sh increased verbosity in various scripts, and do not run xargs kill when argument is empty (cleaner and clearer stderr messages) 2021-01-30 21:41:08 +01:00
sxmo_surf_linkselect.sh Added sxmo_keyboard script that acts as an intermediary to opening and closing the keyboard 2021-03-15 13:51:48 +01:00
sxmo_terminal.sh Do not enforce -e TERMCMD args and fix TERMMODE 2021-06-09 08:42:51 +02:00
sxmo_timezonechange.sh replace "st -e" with sxmo_terminal.sh and edit it to use st -e instead of st 2021-06-04 21:50:59 +02:00
sxmo_upgrade.sh we expect people to upgrade with apk upgrade -a (quoting ollieparanoid from pmos) 2021-03-31 11:48:32 +02:00
sxmo_urlhandler.sh replace "st -e" with sxmo_terminal.sh and edit it to use st -e instead of st 2021-06-04 21:50:59 +02:00
sxmo_vol.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_xinit.sh various minor shellcheck fixes 2021-06-06 15:39:38 +02:00