Commit Graph

201 Commits

Author SHA1 Message Date
sezanzeb
6d9f1c44c5 ensuring ownership of all created files and folders 2020-11-29 18:47:40 +01:00
sezanzeb
de9e5c076b not checking for test in can_read_devices 2020-11-29 16:23:21 +01:00
sezanzeb
b66e14e57a add_filehandler for any path 2020-11-29 16:22:53 +01:00
sezanzeb
be9b069853 consistent member naming 2020-11-29 16:22:22 +01:00
sezanzeb
a8c96c448e fixed a log 2020-11-29 16:22:06 +01:00
sezanzeb
489b23a3ab setup.py dependencies 2020-11-29 14:20:32 +01:00
sezanzeb
1ee0e6953a wip debian package 2020-11-29 12:16:08 +01:00
sezanzeb
7813620314 lint 2020-11-29 01:53:12 +01:00
sezanzeb
e6e310c7fc testing connecting to the dbus 2020-11-29 01:44:14 +01:00
sezanzeb
b029d7df25 more macro tests 2020-11-29 00:28:46 +01:00
sezanzeb
d3a1b16d6b testing a short macro in injector tests 2020-11-29 00:13:13 +01:00
sezanzeb
cc04f991a9 macro improvements 2020-11-28 23:50:28 +01:00
sezanzeb
3a178dd6b9 improved macro tests 2020-11-28 22:54:22 +01:00
sezanzeb
82b7d936f6 asyncio macros 2020-11-28 20:59:24 +01:00
sezanzeb
c2f6195196 linting 2020-11-28 19:31:57 +01:00
sezanzeb
52c76fb65a random w, improved parsing debug output 2020-11-28 18:52:19 +01:00
sezanzeb
24e3e2f5af simpler examples 2020-11-28 18:43:11 +01:00
sezanzeb
f0e57c5276 inserted the unfinished macro parsing and running into the injector 2020-11-28 18:39:55 +01:00
sezanzeb
82fcafe8a1 tests for macro running and parsing 2020-11-28 18:27:28 +01:00
sezanzeb
18a5bd678d macro parser 2020-11-28 17:49:32 +01:00
sezanzeb
1a16d679cf cloning mappings 2020-11-28 15:48:57 +01:00
sezanzeb
ed48306f7f asyncio KeycodeInjector 2020-11-28 15:43:24 +01:00
sezanzeb
de26525b6e update README.md 2020-11-27 21:57:21 +01:00
sezanzeb
97ae312d06 started work on macros 2020-11-27 21:27:15 +01:00
sezanzeb
d3b971414a some pylint and tests 2020-11-27 00:34:45 +01:00
sezanzeb
ccf1451acf test for the autoload switch 2020-11-27 00:23:03 +01:00
sezanzeb
c0df63517b more config tests 2020-11-27 00:11:23 +01:00
sezanzeb
cae6cc01ae update readme 2020-11-26 23:53:26 +01:00
sezanzeb
a90286c421 populating the autoload switch state 2020-11-26 21:33:31 +01:00
sezanzeb
007703cabd rearranged the ui a bit 2020-11-26 00:07:28 +01:00
sezanzeb
142ecdd0f8 switch to autoloat presets 2020-11-25 23:55:31 +01:00
sezanzeb
001cc3b8fa access via groups instead of root services with interfaces that are open to everyone 2020-11-25 23:36:03 +01:00
sezanzeb
89cb0e00d4 wip 2020-11-25 21:55:04 +01:00
sezanzeb
3180f8d86a daemon wont create a config file anymore 2020-11-25 19:21:04 +01:00
sezanzeb
7e70b00e5b full path to the daemon for loading presets, some TODOs, .json file extension, nested mapping in .json config 2020-11-25 00:23:34 +01:00
sezanzeb
a2dc3ef606 running without the service on dbus failure 2020-11-23 23:42:23 +01:00
sezanzeb
5ab465a80d tested reverse mapping 2020-11-23 23:41:13 +01:00
sezanzeb
b56af82caa test for reverse mapping split 2020-11-23 21:43:31 +01:00
sezanzeb
327ab9ca90 optimized get_keycode 2020-11-23 18:47:57 +01:00
sezanzeb
76720b0954 update readme 2020-11-22 22:08:21 +01:00
sezanzeb
f29abc8660 beautiful newline 2020-11-22 21:56:25 +01:00
sezanzeb
35967741d8 warning 2020-11-22 21:54:31 +01:00
sezanzeb
8864c8bcfd ignoring Power Button 2020-11-22 21:54:09 +01:00
sezanzeb
8561bfac63 pylint 9.70 2020-11-22 21:41:29 +01:00
sezanzeb
62ba26345d talks to the daemon 2020-11-22 21:04:09 +01:00
sezanzeb
539e31445b improved error handling 2020-11-22 21:02:44 +01:00
sezanzeb
1a018dbf90 magic numbers 2020-11-22 18:02:55 +01:00
sezanzeb
3bce3f50f6 properly reads keycode device for devices that are being injected into 2020-11-22 17:46:32 +01:00
sezanzeb
6f0e8d97fb wip reading keycodes even though the device is grabbed 2020-11-22 16:54:40 +01:00
sezanzeb
6a35d7bcf9 reader tests 2020-11-22 15:14:43 +01:00
sezanzeb
8c85bf5d39 got rid of the interval polling architecture, also displaying mouse keycodes in the status bar 2020-11-22 14:47:34 +01:00
sezanzeb
23a08f4c20 supports keycodes from mouse-buttons (such as middle-mouse) as well 2020-11-22 13:59:28 +01:00
sezanzeb
9996f0170d some comment stuff 2020-11-22 13:58:56 +01:00
sezanzeb
855db4a008 pretty preset config files 2020-11-21 15:12:03 +01:00
sezanzeb
7870c6d83e improved get_devices log 2020-11-21 15:07:08 +01:00
sezanzeb
74e98e28df fixed config file doesnt exist 2020-11-21 15:00:52 +01:00
sezanzeb
22325c0c8d fixed some installation issues 2020-11-21 14:57:08 +01:00
sezanzeb
f91daa2fe8 started working on the daemon 2020-11-20 21:38:59 +01:00
sezanzeb
6d64b081d0 config for autoloading presets 2020-11-20 21:38:19 +01:00
sezanzeb
e987f2654e threw some TODOs into it, started on the daemon executable 2020-11-20 01:50:40 +01:00
sezanzeb
aa9df32e2b some TODOs 2020-11-19 11:58:20 +01:00
sezanzeb
91f304991a testing the injector constructor 2020-11-19 11:40:15 +01:00
sezanzeb
4617d56506 testing grab retries and capability modification 2020-11-19 11:30:01 +01:00
sezanzeb
61d591978d ensuring numlock stays the same on grab 2020-11-19 11:12:28 +01:00
sezanzeb
db0876373f removed redundant injection stop 2020-11-19 01:45:31 +01:00
sezanzeb
61a231e5fe showing in UI when grab was not possible 2020-11-19 01:40:47 +01:00
sezanzeb
855778c52c multiple attempts at grabbing the device 2020-11-19 01:02:27 +01:00
sezanzeb
0b713d30c7 test for getdevices ignoring evdev.UInput stuff from key-mapper 2020-11-19 00:22:22 +01:00
sezanzeb
7567320a2b some more tests 2020-11-19 00:10:42 +01:00
sezanzeb
adaddcd7ef tests for KeycodeInjector 2020-11-19 00:04:04 +01:00
sezanzeb
6a0c0e30e2 removed stuff from tests that was removed 2020-11-18 22:33:01 +01:00
sezanzeb
b9787518cf works 2020-11-18 22:06:54 +01:00
sezanzeb
d02e3eaa13 final commit on sixth 2020-11-18 21:39:15 +01:00
sezanzeb
fc52d4fad8 still wont work. again. 2020-11-18 20:03:37 +01:00
sezanzeb
1ff1f6a702 wip 2020-11-18 13:17:49 +01:00
sezanzeb
ed24708633 saving presets works again 2020-11-18 10:33:59 +01:00
sezanzeb
8e24782a61 started to outline the new save and load methods 2020-11-17 23:49:11 +01:00
sezanzeb
71de04b626 organized the archived xkb code 2020-11-17 23:48:30 +01:00
sezanzeb
364170c71b overthrowing the functionality completely 2020-11-17 23:40:39 +01:00
sezanzeb
7e8c14bb09 wip 2020-11-17 21:09:28 +01:00
sezanzeb
7dfb65766d started work on injecting keycodes instead of configs-only 2020-11-17 14:35:36 +01:00
sezanzeb
a1503c6e16 unused time import 2020-11-17 00:53:29 +01:00
sezanzeb
d6455b4e01 permission stuff 2020-11-17 00:51:57 +01:00
sezanzeb
ecc95a6b73 avoid jumping window contents on load 2020-11-16 17:04:04 +01:00
sezanzeb
098d6fa395 loads mappings with modified variations correctly 2020-11-16 16:52:43 +01:00
sezanzeb
efce80a911 improved get_devices test 2020-11-16 16:30:27 +01:00
sezanzeb
899e624071 obsolete comment 2020-11-16 16:27:46 +01:00
sezanzeb
f2370e4b59 chmod proper permissions 2020-11-16 16:27:18 +01:00
sezanzeb
d5d86960bf supports modifier-key combinations 2020-11-16 16:18:37 +01:00
sezanzeb
b96997630c cleanup, tests for linux.py 2020-11-16 15:39:15 +01:00
sezanzeb
719cb75087 test delete_preset 2020-11-16 14:08:42 +01:00
sezanzeb
9afdbe9219 avoid waiting for the InputDevice destructor 2020-11-16 14:08:29 +01:00
sezanzeb
6d8fa1cbda clearing the rename field on preset switch 2020-11-15 21:09:36 +01:00
sezanzeb
8f0db825fd showing the current keycode, better loading indicator 2020-11-15 21:03:56 +01:00
sezanzeb
cee8af2af6 loading screen 2020-11-15 20:45:41 +01:00
sezanzeb
a381613641 got rid of this confusing symlink stuff 2020-11-15 20:27:06 +01:00
sezanzeb
b68b958160 polkit 2020-11-15 18:55:16 +01:00
sezanzeb
2391a5f7dc more tests 2020-11-15 12:11:35 +01:00
sezanzeb
18f1ec6121 using get_keycode instead of evdev 2020-11-15 03:01:11 +01:00
sezanzeb
ba708cfd0a integration test for rows 2020-11-15 01:35:35 +01:00