Commit Graph

281 Commits

Author SHA1 Message Date
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
11bae01373 corrected log_info text 2020-12-06 00:52:24 +01:00
sezanzeb
be201a7dee command line shortcut for the permission setup 2020-12-05 23:40:02 +01:00
sezanzeb
c0f5e8ff58 more help on mapping names and macros 2020-12-05 19:38:38 +01:00
sezanzeb
5e4dccb6d9 more sophisticated permission checking 2020-12-05 18:49:52 +01:00
sezanzeb
24cf29575e Merge branch 'main' into repeat-while-holding 2020-12-05 18:02:59 +01:00
sezanzeb
cbcc19bcd0 #2 non existing groups 2020-12-05 17:56:21 +01:00
sezanzeb
83e6e32cc7 removed debug prints 2020-12-05 17:50:38 +01:00
sezanzeb
171c71af91 showing syntax errors in the ui 2020-12-05 13:08:07 +01:00
sezanzeb
914a1cff80 more info on macros in readme, preventing duplicate hold macros running forever 2020-12-05 12:11:36 +01:00
sezanzeb
bc32099486 some improvements on the hold functionality 2020-12-05 12:05:17 +01:00
sezanzeb
48dcbf7ef3 repeating macros while holding keys 2020-12-05 11:58:29 +01:00
sezanzeb
02ae3429a8 better rich.traceback initialization 2020-12-05 11:33:35 +01:00
sezanzeb
be9d278da1 wip 2020-12-05 11:13:10 +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
2adb4daf67 linting 2020-12-04 17:38:04 +01:00
sezanzeb
9896f1f005 checking write permissions on /dev/uinput 2020-12-04 17:28:34 +01:00
sezanzeb
3d9d192420 checking write permissions on /dev/uinput 2020-12-04 17:26:44 +01:00
sezanzeb
f76658e4bd checking write permissions on /dev/uinput 2020-12-04 17:17:29 +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
df0e3b835c prevent some gtk main loop error to appear on close 2020-12-04 15:06:47 +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
49636c5e7a RX and RY movements as mouse wheel 2020-12-03 21:36:15 +01:00
sezanzeb
8914f60add less spam in case of missing read rights on devices 2020-12-03 20:54:27 +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
e54a08f3be some more improvements on resolving data 2020-12-03 18:51:50 +01:00
sezanzeb
1a69473957 fixed data path on ubuntu 2020-12-03 18:41:04 +01:00
sezanzeb
89a57009f5 possibly fixed the data path 2020-12-03 18:32:28 +01:00
sezanzeb
cfd09c4870 possibly fixed the data path 2020-12-03 18:29:46 +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
67a20bfae8 showing button names instead of numbers 2020-12-02 22:41:09 +01:00
sezanzeb
813ecf2b02 showing button names instead of numbers 2020-12-02 22:40:35 +01:00
sezanzeb
c092145a62 removed unused empty function 2020-12-02 21:41:50 +01:00
sezanzeb
63a2209251 got rid of the confusing xkb keycode offset 2020-12-02 21:41:39 +01:00
sezanzeb
8ac2092e74 got rid of the confusing xkb keycode offset 2020-12-02 21:38:02 +01:00
sezanzeb
f879a58363 can map shoulder buttons 2020-12-02 21:20:18 +01:00
sezanzeb
ebe0115ad0 mapped a D-Pad button 2020-12-02 21:03:59 +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
caf1a67801 better approximation of 60hz 2020-12-02 15:27:57 +01:00
sezanzeb
c93da68956 dividing injector.py into multiple files 2020-12-02 15:18:23 +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
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
1af1ee7bf7 wip more gamepad stuff 2020-11-30 21:17:14 +01:00
sezanzeb
a7647928f0 fixed all tests 2020-11-30 20:57:09 +01:00
sezanzeb
573d9c473d more precise mouse gamepad movement 2020-11-30 19:54:33 +01:00
sezanzeb
ba0a97dbdf moving the cursor with the gamepad 2020-11-30 19:40:17 +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
b0e801318a daemon reloads the config on apply 2020-11-29 21:31:28 +01:00
sezanzeb
a9b9cb56a3 made it work on an old ubuntu laptop 2020-11-29 20:19:38 +01:00
sezanzeb
5cc1bd9941 ensuring ownership of all created files and folders 2020-11-29 18:47:40 +01:00
sezanzeb
27b47e475d ensuring ownership of all created files and folders 2020-11-29 18:24:50 +01:00
sezanzeb
03dbfca59e not checking for test in can_read_devices 2020-11-29 16:23:21 +01:00
sezanzeb
b1f041c5b7 add_filehandler for any path 2020-11-29 16:22:53 +01:00
sezanzeb
c9d148bba2 consistent member naming 2020-11-29 16:22:22 +01:00
sezanzeb
6b6d0e5492 fixed a log 2020-11-29 16:22:06 +01:00
sezanzeb
611264ffc6 setup.py dependencies 2020-11-29 14:19:32 +01:00
sezanzeb
e5beec0994 wip debian package 2020-11-29 10:42:20 +01:00
sezanzeb
ba7f282dff lint 2020-11-29 01:53:20 +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
c63796bcb7 macro improvements 2020-11-28 23:50:28 +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
b1ba01cf03 simpler examples 2020-11-28 18:42:08 +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
e5efa6555a update README.md 2020-11-27 21:32:35 +01:00
sezanzeb
92ba027323 started work on macros 2020-11-27 21:27:15 +01:00
sezanzeb
398493149b some pylint and tests 2020-11-27 00:34:45 +01:00
sezanzeb
fb94742d8a test for the autoload switch 2020-11-27 00:23:03 +01:00