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>
Useful when identifying/debugging lisgd crashes, and other strange behavior.
The log location is the same place where dwm logs to, so this seemed
appropriate.
Signed-off-by: Anjandev Momi <anjan@momi.ca>
This implements what was suggested in the discussion regarding the svkbd
patch, it makes the choice of virtual keyboard configurable using the
$KEYBOARD variable, rather than hard-coding it.