Commit Graph

226 Commits

Author SHA1 Message Date
sezanzeb
58f4788368 some fixes and improvements 2020-12-04 14:38:41 +01:00
sezanzeb
73f3784980 more tests 2020-12-03 20:37:36 +01:00
sezanzeb
d3ff838aa0 some more tests 2020-12-03 20:03:53 +01:00
sezanzeb
3e48d899ea fixed Alt_L not working 2020-12-03 01:32:36 +01:00
sezanzeb
70f091f39b some fixes, cleaner .change function of mapping 2020-12-02 23:27:32 +01:00
sezanzeb
59e893fe7e got rid of the confusing xkb keycode offset 2020-12-02 21:41:39 +01:00
sezanzeb
2a0b22c493 using the offset constant everywhere 2020-12-02 21:24:35 +01:00
sezanzeb
91b9ad5754 can map shoulder buttons 2020-12-02 21:20:18 +01:00
sezanzeb
95b09259d3 wip 2020-12-02 20:48:23 +01:00
sezanzeb
78692f40eb more work for event type to mapping key 2020-12-02 20:08:55 +01:00
sezanzeb
edf71e82e0 add event type to mapping key 2020-12-02 19:33:31 +01:00
sezanzeb
7150be9a7e indicates if a mapping is going on 2020-12-02 18:07:46 +01:00
sezanzeb
a0fa0e0341 fixed injection 2020-12-02 17:40:21 +01:00
sezanzeb
7e30f450ee simplified keycode injection 2020-12-02 16:17:52 +01:00
sezanzeb
37b0b6638e renaming test files 2020-12-02 16:16:58 +01:00
sezanzeb
39905db774 proper test util imports, switched to the recommended pydbus package 2020-12-02 14:36:17 +01:00
sezanzeb
8a9b815772 tested mapping metadata saving and loading 2020-12-02 12:36:03 +01:00
sezanzeb
e7ef652039 obsolete reverse mapping 2020-12-02 12:29:55 +01:00
sezanzeb
8827e85023 test for correct linux header keycode usage 2020-12-02 00:58:48 +01:00
sezanzeb
cd8624ac13 faster row tests 2020-12-02 00:13:54 +01:00
sezanzeb
b171845ea1 linting 2020-12-02 00:02:41 +01:00
sezanzeb
287b1250cc no .terminate anymore, proper multiprocessing coverage, some minor cleanup in injector 2020-12-01 23:53:32 +01:00
sezanzeb
3e0428ca29 ubuntu fixes 2020-12-01 11:01:11 +01:00
sezanzeb
51b6ccfebf more tests 2020-11-30 22:42:53 +01:00
sezanzeb
9a387e09fb some more test fixing 2020-11-30 21:16:58 +01:00
sezanzeb
3e86e5c1b8 fixed all tests 2020-11-30 20:57:09 +01:00
sezanzeb
1c77934bea improved tests, some fixes 2020-11-30 18:59:34 +01:00
sezanzeb
d338ebe7f8 support for linux kernel keycode constants 2020-11-30 16:22:17 +01:00
sezanzeb
a440b4f7df gamepad buttons as keyboard keys 2020-11-30 14:34:27 +01:00
sezanzeb
b00de9f16a more tests 2020-11-29 16:21:34 +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
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
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
001cc3b8fa access via groups instead of root services with interfaces that are open to everyone 2020-11-25 23:36:03 +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
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
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
875527973b simplified daemon test 2020-11-22 21:03:09 +01:00
sezanzeb
eee46d559b integration tests for injecting 2020-11-22 21:02:16 +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
a918829a47 some proper cleanup of pending_events 2020-11-22 15:17:55 +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
ee66c82bd0 magic number 2020-11-22 13:58:29 +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
c7b5679293 made injector constructor test safer 2020-11-19 11:44:07 +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
855778c52c multiple attempts at grabbing the device 2020-11-19 01:02:27 +01:00
sezanzeb
d59ad26823 beautified test output 2020-11-19 00:28:45 +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
19fd2fddeb started working on injection tests 2020-11-18 23:00:18 +01:00
sezanzeb
6a0c0e30e2 removed stuff from tests that was removed 2020-11-18 22:33:01 +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
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
098d6fa395 loads mappings with modified variations correctly 2020-11-16 16:52:43 +01:00
sezanzeb
228a315899 corrected test name 2020-11-16 16:30:57 +01:00
sezanzeb
efce80a911 improved get_devices test 2020-11-16 16:30:27 +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
a381613641 got rid of this confusing symlink stuff 2020-11-15 20:27:06 +01:00
sezanzeb
7237f43369 check for { 2020-11-15 15:47:22 +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
sezanzeb
f5ffd0b1e7 unsaved changes dialog 2020-11-15 00:27:45 +01:00
sezanzeb
a6091fed00 button to load the default preset 2 2020-11-14 22:07:43 +01:00
sezanzeb
d4a727f864 renaming, keeping unmapped keys at their defaults 2020-11-10 23:14:28 +01:00
sezanzeb
44bc36098f continued rearrangement 2020-11-09 23:34:30 +01:00
sezanzeb
a402732bc4 refactoring, restructuring 2020-11-09 23:16:30 +01:00
sezanzeb
0152e5acf5 forgot to change some alsacontrol stuff to key-mapper in comments 2020-11-08 21:34:27 +01:00
sezanzeb
7064be391e input validation for mapping change 2020-11-08 21:01:58 +01:00
sezanzeb
339154b5e1 default keys for unused keys 2020-11-08 19:50:30 +01:00
sezanzeb
c4988566ed tests, status bar, tooltips 2020-11-08 18:51:35 +01:00
sezanzeb
b88f9d9426 more tests 2020-11-08 16:27:26 +01:00
sezanzeb
1dd995e101 tested the Mapping object 2020-11-08 12:48:50 +01:00
sezanzeb
2b1a0de45f debug print cleanup 2020-11-08 01:03:13 +01:00
sezanzeb
d93e7f271b seems to be working again 2020-11-08 01:02:04 +01:00
sezanzeb
8a496644eb wip, tests failing, stuff broken 2020-11-08 00:54:19 +01:00
sezanzeb
cb700fdf7a renaming and deleting presets 2020-11-02 23:52:58 +01:00
sezanzeb
a4f5d0518f linking the whole dir 2020-11-02 23:14:11 +01:00
sezanzeb
6406796c3d can apply presets 2020-11-02 21:57:28 +01:00
sezanzeb
50d6d21d93 using python-evdev 2020-11-02 19:47:31 +01:00
sezanzeb
0065000114 fixed stuff, dummy configs actually work now 2020-11-02 19:17:28 +01:00
sezanzeb
9ac1fefeb1 tests for create preset, config lib not needed 2020-11-02 02:17:58 +01:00
sezanzeb
02efe37389 creating the symbols file, symlinking, more tests 2020-11-02 01:25:43 +01:00
sezanzeb
fecfa01bc6 parsing libinput_list 2020-11-01 21:32:06 +01:00
sezanzeb
359d8b687e fixed duplicate first rows 2020-10-31 19:12:27 +01:00
sezanzeb
ac1ba6dba3 creating and selecting presets - super buggy 2020-10-31 19:10:40 +01:00
sezanzeb
916ec6278a bunch of stuff 2020-10-31 18:48:03 +01:00
sezanzeb
9253cc7e90 mapping list headers 2020-10-31 17:43:21 +01:00
sezanzeb
382ede3d98 show devices, adding rows 2020-10-31 17:00:02 +01:00
sezanzeb
ee28c59bed test for config contents 2020-10-31 15:29:25 +01:00
sezanzeb
a3f814f063 creating config structure 2020-10-31 15:22:58 +01:00
sezanzeb
163f1b646d config, more renaming, some glade prototype 2020-10-31 14:43:09 +01:00
sezanzeb
82fad5f26f rename 2020-10-31 14:02:59 +01:00
sezanzeb
5a460ebca5 outlined some stuff 2020-10-26 23:45:55 +01:00