From 64ddeff5a13868df031c1af6231f321f42e01649 Mon Sep 17 00:00:00 2001 From: sezanzeb Date: Thu, 19 Nov 2020 11:58:20 +0100 Subject: [PATCH] some TODOs --- README.md | 4 ---- keymapper/getdevices.py | 12 ++++++++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 951eeb6a..a6313868 100644 --- a/README.md +++ b/README.md @@ -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. -

diff --git a/keymapper/getdevices.py b/keymapper/getdevices.py index 52db85da..feba7bf2 100644 --- a/keymapper/getdevices.py +++ b/keymapper/getdevices.py @@ -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