Commit Graph

199 Commits

Author SHA1 Message Date
sezanzeb
a4ade15ecf overwriting global configs within the preset.json files 2020-12-19 21:50:32 +01:00
sezanzeb
0230a2e33b D-Pad direction mapping and joystick purpose configuration 2020-12-19 16:04:07 +01:00
sezanzeb
ec603f0ac7 support to add macro functions with optional parameters eventually 2020-12-16 12:57:44 +01:00
sezanzeb
3aee78bb7d improved numlock correction 2020-12-16 12:57:09 +01:00
sezanzeb
f7941946df prioritizing events in short bursts in the reader 2020-12-12 15:22:34 +01:00
sezanzeb
4b222b486d fixed wacom buttons 2020-12-12 14:12:45 +01:00
sezanzeb
0512d31fd6 fixed tests 2020-12-06 19:54:02 +01:00
sezanzeb
77ab8ba47b more tests 2020-12-06 15:11:13 +01:00
sezanzeb
6ff5c29d1e more macro tests 2020-12-06 14:53:35 +01:00
sezanzeb
b82f6e9cca tests for hold macros 2020-12-06 14:23:00 +01:00
sezanzeb
dada92c660 testing list_names 2020-12-06 12:54:14 +01:00
sezanzeb
fe3b575ac1 unittests for the new permission checks 2020-12-06 12:40:58 +01:00
sezanzeb
5e4dccb6d9 more sophisticated permission checking 2020-12-05 18:49:52 +01:00
sezanzeb
48dcbf7ef3 repeating macros while holding keys 2020-12-05 11:58:29 +01:00
sezanzeb
126eef6e82 improved syntax checking of macros 2020-12-04 19:21:54 +01:00
sezanzeb
aabb89668c more indicators of an ongoing injection, unused gi imports, update badge 2020-12-04 18:01:56 +01:00
sezanzeb
141561d74f checking for GLib.GError on bus.get, redundant gi.require_version 2020-12-04 17:45:51 +01:00
sezanzeb
cc7c31508b checking write permissions on /dev/uinput 2020-12-04 17:16:39 +01:00
sezanzeb
66d9955c86 tests for resolving data paths 2020-12-04 16:24:32 +01:00
sezanzeb
7c6eba4997 some improved verbosity on groups and missing devices 2020-12-04 16:24:00 +01:00
sezanzeb
384601df4a better handling of duplicate services 2020-12-04 15:31:32 +01:00
sezanzeb
ebdff6fc8f improved macro parsing error logging 2020-12-04 14:52:08 +01:00
sezanzeb
634f7e625d some fixes and improvements 2020-12-04 14:38:41 +01:00
sezanzeb
6d6a7b25d7 more tests 2020-12-03 20:37:36 +01:00
sezanzeb
d75082bdf7 some more tests 2020-12-03 20:03:53 +01:00
sezanzeb
0f11ac09df fixed Alt_L not working 2020-12-03 01:32:36 +01:00
sezanzeb
a44a1f49c2 some fixes, cleaner .change function of mapping 2020-12-02 23:27:32 +01:00
sezanzeb
8ac2092e74 got rid of the confusing xkb keycode offset 2020-12-02 21:38:02 +01:00
sezanzeb
d355806c5a using the offset constant everywhere 2020-12-02 21:24:35 +01:00
sezanzeb
f879a58363 can map shoulder buttons 2020-12-02 21:20:18 +01:00
sezanzeb
0757b4a4e8 wip 2020-12-02 20:48:23 +01:00
sezanzeb
861ae868b2 more work for event type to mapping key 2020-12-02 20:08:55 +01:00
sezanzeb
4b5c9e3143 add event type to mapping key 2020-12-02 19:33:31 +01:00
sezanzeb
e18fbeaf60 indicates if a mapping is going on 2020-12-02 18:07:46 +01:00
sezanzeb
386879752b fixed injection 2020-12-02 17:40:21 +01:00
sezanzeb
cdbb3c8b39 simplified keycode injection 2020-12-02 16:17:52 +01:00
sezanzeb
afa8365599 renaming test files 2020-12-02 16:16:58 +01:00
sezanzeb
ac73d5cc86 proper test util imports, switched to the recommended pydbus package 2020-12-02 14:36:17 +01:00
sezanzeb
b67e27e3d4 tested mapping metadata saving and loading 2020-12-02 12:36:03 +01:00
sezanzeb
c95559e554 obsolete reverse mapping 2020-12-02 12:29:55 +01:00
sezanzeb
6771e8d8dc test for correct linux header keycode usage 2020-12-02 00:58:48 +01:00
sezanzeb
a0744fd155 faster row tests 2020-12-02 00:13:54 +01:00
sezanzeb
3d2095f988 linting 2020-12-02 00:02:41 +01:00
sezanzeb
17445558fb no .terminate anymore, proper multiprocessing coverage, some minor cleanup in injector 2020-12-01 23:53:32 +01:00
sezanzeb
f4ca07490d ubuntu fixes 2020-12-01 11:01:11 +01:00
sezanzeb
d1aceaf777 more tests 2020-11-30 22:42:53 +01:00
sezanzeb
ada7858f37 some more test fixing 2020-11-30 21:16:58 +01:00
sezanzeb
a7647928f0 fixed all tests 2020-11-30 20:57:09 +01:00
sezanzeb
a97c44ebd4 improved tests, some fixes 2020-11-30 18:59:34 +01:00
sezanzeb
ef6710877c support for linux kernel keycode constants 2020-11-30 16:22:17 +01:00
sezanzeb
4f87ef0b0c gamepad buttons as keyboard keys 2020-11-30 14:34:27 +01:00
sezanzeb
7e1193583a more tests 2020-11-29 16:21:34 +01:00
sezanzeb
c87606cfb6 testing connecting to the dbus 2020-11-29 01:44:14 +01:00
sezanzeb
ea5b2fc049 more macro tests 2020-11-29 00:28:46 +01:00
sezanzeb
68f2de3978 testing a short macro in injector tests 2020-11-29 00:13:13 +01:00
sezanzeb
845b7c2397 macro improvements 2020-11-28 23:44:40 +01:00
sezanzeb
53677b4a21 improved macro tests 2020-11-28 22:54:22 +01:00
sezanzeb
f920c2d031 asyncio macros 2020-11-28 20:59:24 +01:00
sezanzeb
d93cce86fa linting 2020-11-28 19:31:57 +01:00
sezanzeb
98811a3358 random w, improved parsing debug output 2020-11-28 18:52:19 +01:00
sezanzeb
c412fee673 inserted the unfinished macro parsing and running into the injector 2020-11-28 18:39:55 +01:00
sezanzeb
ace421e84a tests for macro running and parsing 2020-11-28 18:27:28 +01:00
sezanzeb
8d23593c89 macro parser 2020-11-28 17:49:32 +01:00
sezanzeb
7134083e5b cloning mappings 2020-11-28 15:48:57 +01:00
sezanzeb
b6b66430ee asyncio KeycodeInjector 2020-11-28 15:43:24 +01:00
sezanzeb
fb94742d8a test for the autoload switch 2020-11-27 00:23:03 +01:00
sezanzeb
166e5b49bb more config tests 2020-11-27 00:11:23 +01:00
sezanzeb
511b5ef9cb pylint badge 2020-11-26 23:34:52 +01:00
sezanzeb
ce32423c7c access via groups instead of root services with interfaces that are open to everyone 2020-11-25 23:36:03 +01:00
sezanzeb
1a41166770 daemon wont create a config file anymore 2020-11-25 19:20:44 +01:00
sezanzeb
4e08221058 full path to the daemon for loading presets, some TODOs, .json file extension, nested mapping in .json config 2020-11-25 00:24:05 +01:00
sezanzeb
b1fff0c286 tested reverse mapping 2020-11-23 23:41:13 +01:00
sezanzeb
36c2ae1be0 test for reverse mapping split 2020-11-23 21:43:31 +01:00
sezanzeb
b2fed7887f ignoring Power Button 2020-11-22 21:54:19 +01:00
sezanzeb
196aec15ea pylint 9.70 2020-11-22 21:41:29 +01:00
sezanzeb
48ca89cc39 talks to the daemon 2020-11-22 21:04:09 +01:00
sezanzeb
4019388264 simplified daemon test 2020-11-22 21:03:40 +01:00
sezanzeb
fe35f9c807 integration tests for injecting 2020-11-22 21:02:16 +01:00
sezanzeb
032347f48c properly reads keycode device for devices that are being injected into 2020-11-22 17:46:32 +01:00
sezanzeb
06a10c64b4 properly reads keycode device for devices that are being injected into 2020-11-22 17:30:06 +01:00
sezanzeb
2afde0039f wip reading keycodes even though the device is grabbed 2020-11-22 16:54:40 +01:00
sezanzeb
a8939e6051 some proper cleanup of pending_events 2020-11-22 15:17:55 +01:00
sezanzeb
76cc37b867 reader tests 2020-11-22 15:14:43 +01:00
sezanzeb
d785e5bb00 got rid of the interval polling architecture, also displaying mouse keycodes in the status bar 2020-11-22 14:47:34 +01:00
sezanzeb
8f3b9cb475 supports keycodes from mouse-buttons (such as middle-mouse) as well 2020-11-22 13:59:28 +01:00
sezanzeb
3936ae45df magic number 2020-11-22 13:58:29 +01:00
sezanzeb
7f1d26aee7 started working on the daemon 2020-11-20 21:38:59 +01:00
sezanzeb
437cb533aa config for autoloading presets 2020-11-20 21:38:19 +01:00
sezanzeb
273b18bcab made injector constructor test safer 2020-11-19 11:44:07 +01:00
sezanzeb
3fcc5af310 testing the injector constructor 2020-11-19 11:40:15 +01:00
sezanzeb
6def1dcc54 testing grab retries and capability modification 2020-11-19 11:30:10 +01:00
sezanzeb
46eafc48da ensuring numlock stays the same on grab 2020-11-19 11:12:28 +01:00
sezanzeb
141a147aa2 multiple attempts at grabbing the device 2020-11-19 01:02:27 +01:00
sezanzeb
e1313efabc beautified test output 2020-11-19 00:28:45 +01:00
sezanzeb
0abd5b60c4 test for getdevices ignoring evdev.UInput stuff from key-mapper 2020-11-19 00:22:22 +01:00
sezanzeb
beee72431f some more tests 2020-11-19 00:10:42 +01:00
sezanzeb
eceacb6b59 tests for KeycodeInjector 2020-11-19 00:04:06 +01:00
sezanzeb
2a2db8fbd0 started working on injection tests 2020-11-18 23:00:18 +01:00
sezanzeb
3d3136ed8b removed stuff from tests that was removed 2020-11-18 22:33:01 +01:00
sezanzeb
37bc7b5d69 still wont work. again. 2020-11-18 20:03:37 +01:00