|
|
|
@ -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
|
|
|
|
|