Commit Graph

380 Commits

Author SHA1 Message Date
sezanzeb
a7fb3984ba Fixed a docstring 2021-02-05 12:59:29 +01:00
sezanzeb
f350714a75 added tests for the previous commit 2021-02-03 19:42:26 +01:00
sezanzeb
acdaf5154f fixed camera check if no key capabilities exist 2021-02-03 19:03:27 +01:00
sezanzeb
4c78955c67 improved logging of the commit hash 2021-01-31 15:23:02 +01:00
sezanzeb
bbe4217aad logging the commit hash 2021-01-31 15:09:47 +01:00
sezanzeb
f94f878649 Properly forwarding unmapped gamepad events 2021-01-26 00:15:30 +01:00
sezanzeb
20d19b5378 more tests for holding 2021-01-26 00:14:52 +01:00
sezanzeb
d5f1405e28 efficiently hold forever until released with h() 2021-01-24 18:36:31 +01:00
sezanzeb
d7c4ce7dcd improved gamepad code, more tests 2021-01-17 15:09:47 +01:00
sezanzeb
98953368a9 some small log improvements 2021-01-10 15:16:22 +01:00
sezanzeb
7f4efba798 new cli features, more tests 2021-01-09 17:44:24 +01:00
sezanzeb
3ddaa66918 improved device grouping 2021-01-08 17:21:51 +01:00
sezanzeb
beda21139a various improvements 2021-01-07 17:15:12 +01:00
sezanzeb
d5b6188aff mapping wheel buttons 2021-01-05 19:33:47 +01:00
sezanzeb
4bad927ffc renamed injector class, fixed config path for injection 2021-01-04 20:50:05 +01:00
sezanzeb
5187e23a92 fixed autoloading with device names containing dots 2021-01-03 12:39:09 +01:00
sezanzeb
78e4fa7eea copyright year 2021-01-03 00:08:33 +01:00
sezanzeb
248341d117 fixes for graphics tablets, general improvements 2021-01-02 02:26:44 +01:00
sezanzeb
62d79e8aa7 mapping joysticks like a d-pad 2021-01-01 22:20:33 +01:00
sezanzeb
06995ea3dc lint 2021-01-01 14:45:07 +01:00
sezanzeb
8454707748 more tests, disabling keys 2021-01-01 14:09:28 +01:00
sezanzeb
4a112447e3 0.4.1 2021-01-01 03:00:47 +01:00
sezanzeb
526be4f51b improved combination detection 2021-01-01 02:08:50 +01:00
sezanzeb
86555fdaf9 improved, cleaner keycode injection 2021-01-01 00:57:04 +01:00
sezanzeb
8f5c718672 some fixes for gamepads 2020-12-31 23:16:46 +01:00
sezanzeb
f465043a88 lint, badges 2020-12-31 21:55:38 +01:00
sezanzeb
27a6f04db4 pressed keys represented by class 2020-12-31 21:47:56 +01:00
sezanzeb
869be4c388 key combinations 2020-12-31 21:46:57 +01:00
sezanzeb
5604e9e18a fixing pkexec in some distros 2020-12-28 00:31:15 +01:00
sezanzeb
20dfec69df arrow keys 2020-12-27 21:36:14 +01:00
sezanzeb
63f5988d4d horizontal joystick scrolling 2020-12-27 19:06:17 +01:00
sezanzeb
ed1616d64c improved logs, removed redundant start_reading, fixed unresponsive keyboard 2020-12-27 18:08:50 +01:00
sezanzeb
b52a427940 small gamepad improvements 2020-12-27 15:38:08 +01:00
sezanzeb
c96d18cfb8 highlighting error status messages with an icon 2020-12-27 13:27:49 +01:00
sezanzeb
28e107b482 fixed bug for simultaneous injections, improved injection log 2020-12-27 13:09:28 +01:00
sezanzeb
6bf89a89d9 improved device detection 2020-12-27 11:26:07 +01:00
sezanzeb
e9b6351a32 improved compatibility 2020-12-26 23:19:33 +01:00
sezanzeb
2c4306e9ad more tests 2020-12-26 19:36:47 +01:00
sezanzeb
76fd446da0 better guidance in the GUI 2020-12-26 18:46:15 +01:00
sezanzeb
91f11ae14d updated references to the renamed defaults button 2020-12-26 17:16:17 +01:00
sezanzeb
b881f0a937 absinfo for older evdev versions 2020-12-26 16:46:01 +01:00
sezanzeb
a33c9401bc ctrl+q 2020-12-26 16:42:57 +01:00
sezanzeb
0fd14b4266 systemd optional in postinst 2020-12-25 15:00:57 +01:00
sezanzeb
c20e691147 systemd, polkit, cli, handling touchpad devices 2020-12-24 01:26:34 +01:00
sezanzeb
f21e02ec25 separator for joystick config 2020-12-20 00:47:01 +01:00
sezanzeb
17a5a83acf lint 2020-12-20 00:40:31 +01:00
sezanzeb
828e1635ef gamepad config via gui 2020-12-20 00:34:37 +01:00
sezanzeb
505e2dbc3c better support for ttys 2020-12-19 22:58:36 +01:00
sezanzeb
57162ab251 overwriting global configs within the preset.json files 2020-12-19 21:50:27 +01:00
sezanzeb
850c60ab50 D-Pad direction mapping and joystick purpose configuration 2020-12-19 16:04:07 +01:00
sezanzeb
7f3a010128 support to add macro functions with optional parameters eventually 2020-12-16 12:57:44 +01:00
sezanzeb
ab56263c3b improved numlock correction 2020-12-16 12:57:09 +01:00
sezanzeb
66965984be prioritizing events in short bursts in the reader 2020-12-12 15:22:34 +01:00
sezanzeb
87ed1188b6 fixed wacom buttons 2020-12-12 14:12:45 +01:00
sezanzeb
208a13c682 updated docstring 2020-12-06 20:43:52 +01:00
sezanzeb
0085ff4dd5 fixed tests 2020-12-06 19:54:02 +01:00
sezanzeb
34f0bee458 increased grab attempt interval 2020-12-06 19:50:25 +01:00
sezanzeb
d4f2919a38 logging injection capabilities 2020-12-06 19:08:09 +01:00
sezanzeb
88e88bda1a showing also single matches 2020-12-06 16:58:56 +01:00
sezanzeb
4284b8c000 improved macro tooltips, more debug log info 2020-12-06 16:08:03 +01:00
sezanzeb
3e629d3a53 autocompletion 2020-12-06 15:58:48 +01:00
sezanzeb
c9ccce8f6b badges, lint 2020-12-06 15:16:25 +01:00
sezanzeb
9a60ae17ff more tests 2020-12-06 15:11:13 +01:00
sezanzeb
66a78bb3fb more macro tests 2020-12-06 14:53:35 +01:00
sezanzeb
96395ae57d tests for hold macros 2020-12-06 14:23:00 +01:00
sezanzeb
453dd2c793 testing list_names 2020-12-06 12:54:14 +01:00
sezanzeb
74da396fd8 unittests for the new permission checks 2020-12-06 12:40:58 +01:00
sezanzeb
070e3cc8a4 corrected log_info text 2020-12-06 00:52:24 +01:00
sezanzeb
3940c572e8 command line shortcut for the permission setup 2020-12-05 23:40:02 +01:00
sezanzeb
14f93fab98 more help on mapping names and macros 2020-12-05 19:38:38 +01:00
sezanzeb
c40f82217b more sophisticated permission checking 2020-12-05 18:49:52 +01:00
sezanzeb
51a717e75e #2 non existing groups 2020-12-05 17:56:21 +01:00
sezanzeb
f0bf6f855c removed debug prints 2020-12-05 17:50:38 +01:00
sezanzeb
501f388fc6 showing syntax errors in the ui 2020-12-05 13:08:07 +01:00
sezanzeb
29a7b6473d more info on macros in readme, preventing duplicate hold macros running forever 2020-12-05 12:11:36 +01:00
sezanzeb
ddefaa90ff some improvements on the hold functionality 2020-12-05 12:05:17 +01:00
sezanzeb
cb7cc67e7f repeating macros while holding keys 2020-12-05 11:58:29 +01:00
sezanzeb
8cc63244f5 better rich.traceback initialization 2020-12-05 11:33:35 +01:00
sezanzeb
1eb0177008 wip 2020-12-05 11:13:10 +01:00
sezanzeb
cf11cae865 improved syntax checking of macros 2020-12-04 19:21:54 +01:00
sezanzeb
d5c312fcdb more indicators of an ongoing injection, unused gi imports, update badge 2020-12-04 18:01:56 +01:00
sezanzeb
2b13931c30 checking for GLib.GError on bus.get, redundant gi.require_version 2020-12-04 17:45:51 +01:00
sezanzeb
ffcf9c6b1d linting 2020-12-04 17:38:04 +01:00
sezanzeb
07c2d86c26 checking write permissions on /dev/uinput 2020-12-04 17:28:34 +01:00
sezanzeb
362c467bae tests for resolving data paths 2020-12-04 16:24:12 +01:00
sezanzeb
3c8ba4d34a some improved verbosity on groups and missing devices 2020-12-04 16:23:45 +01:00
sezanzeb
6b43e66bdd better handling of duplicate services 2020-12-04 15:31:32 +01:00
sezanzeb
a449755049 prevent some gtk main loop error to appear on close 2020-12-04 15:06:47 +01:00
sezanzeb
032ebd09c6 improved macro parsing error logging 2020-12-04 14:52:08 +01:00
sezanzeb
58f4788368 some fixes and improvements 2020-12-04 14:38:41 +01:00
sezanzeb
28854888a3 RX and RY movements as mouse wheel 2020-12-03 21:36:15 +01:00
sezanzeb
f1e069cbaa less spam in case of missing read rights on devices 2020-12-03 20:54:27 +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
1dce0e1016 some more improvements on resolving data 2020-12-03 18:51:50 +01:00
sezanzeb
6dd056541c fixed data path on ubuntu 2020-12-03 18:41:04 +01:00
sezanzeb
6c2160ff4e possibly fixed the data path 2020-12-03 18:32:28 +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
040cea0a8b showing button names instead of numbers 2020-12-02 22:41:09 +01:00
sezanzeb
2df1bcc525 removed unused empty function 2020-12-02 21:41:50 +01:00
sezanzeb
59e893fe7e got rid of the confusing xkb keycode offset 2020-12-02 21:41:39 +01:00
sezanzeb
91b9ad5754 can map shoulder buttons 2020-12-02 21:20:18 +01:00
sezanzeb
cbf97fd44c mapped a D-Pad button 2020-12-02 21:03:59 +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
5d2db7f705 better approximation of 60hz 2020-12-02 15:27:57 +01:00
sezanzeb
01ab93ef95 dividing injector.py into multiple files 2020-12-02 15:18:23 +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
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
13555a94ce wip more gamepad stuff 2020-11-30 21:17:14 +01:00
sezanzeb
3e86e5c1b8 fixed all tests 2020-11-30 20:57:09 +01:00
sezanzeb
661f56d043 more precise mouse gamepad movement 2020-11-30 19:54:33 +01:00
sezanzeb
59bb7d5514 moving the cursor with the gamepad 2020-11-30 19:40:17 +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
15a05907c3 daemon reloads the config on apply 2020-11-29 21:31:28 +01:00
sezanzeb
09dae2594f made it work on an old ubuntu laptop 2020-11-29 20:18:00 +01:00
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