[x] fix style (as in replace sweg(…) with libc::sweg(…) AND NAMING)
[ ] libinput and hotkeys should not be pub mod
[x] move closure thing into hotkey mod
[x] move they keycode resolver to its own file/module
[x] Support media keys
[x] decide on absolute vs relative mouse events
(this one's not really trivial but we have to make a decision either way - for now all we support is relative as that's just how a mouse works but this probably breaks touchscreen-style input devices? then again, is that really an issue? how would that work anyways? Confusing! Unless someone comes up with a better idea, I'd suggest we leave it the way it is until it breaks for someone.)
Easy (still up for grabs but you need to actually read the code you are editing to do this)
[x] actually implement the entry-exit state machine; call resume and suspend for that (and instantly suspend on startup)
[x] not hardcode path to my mouse - figure out via udev (filter keyboard and mouse yadda yadda)
[x] fix usb controller handling (reserve xhci port) (or just connect a PS2 mouse)
[x] Fix host key hang issue (~appears to be~ is a libinput bug)
[x] Fix travis: There is no recent libinput for the ubuntu versions supported by travis. Moved to arch-travis.
Postponeables (can just merge and create issues for these)
have setup wizard create a udev rule to adjust permissions on the input devnode as well (before we only needed usb devnode)
Add some logging
Fix the remaining host key hang issue (once that libinput patch is released, they keys are no longer stuck permanently - temporarily stuck keys are still problematic however)
Desktop notification / Sound for light entry to notify user of fallback.
Fixes #87, fixes #111.
Remember to add libinput AUR dependency when merging this!
Blockers
Trivial (up for grabs)
sweg(…)
withlibc::sweg(…)
AND NAMING)pub mod
Easy (still up for grabs but you need to actually read the code you are editing to do this)
~appears to be~ is a libinput bug)Postponeables (can just merge and create issues for these)
Fixes #87, fixes #111.
Remember to add libinput AUR dependency when merging this!