some TODOs

This commit is contained in:
sezanzeb 2020-11-19 11:58:20 +01:00
parent 7b1537296d
commit 64ddeff5a1
2 changed files with 10 additions and 6 deletions

View File

@ -7,10 +7,6 @@ any keyboard to something different. It should not be device specific, any
input device supported by Linux plug and play that reports keyboard events
will likely work.
This unfortunately doesn't apply to left/middle/right clicks of mice, or
the common back/forward thumb buttons, but the keypads of MMO mice seem to
work. Changing single keys of keyboards also works.
<p align="center">
<img src="data/screenshot.png"/>
</p>

View File

@ -72,8 +72,16 @@ class _GetDevicesProcess(multiprocessing.Process):
continue
if evdev.ecodes.EV_REL in capabilities:
# skip devices that control movement, because I need to
# grab the device and
# skip devices that control movement, because I would like
# to not affect the mouse movement performance
# TODO check for config, is set enable mapping buttons
# of that device as well
# TODO speaking of config, add checkbox to automatically load
# a preset. Store a mapping of device: preset somewhere to
# automatically load them. Autoloading presets should be a
# different executable, and controlling stuff in the gui
# should send a dbus message to the different bin to stop
# doing stuff
logger.debug(
'Skipping %s to avoid impairing mouse movement',
device.path