Commit Graph

276 Commits

Author SHA1 Message Date
sezanzeb
dda3bd2d81 Removed unused imports, updated badges, updated test instructions 2022-01-18 01:08:38 +01:00
sezanzeb
271c250337 Split tests into unit and integration 2022-01-18 00:55:01 +01:00
Luna Nova
e316c6f36c
Use non-zero exit code if tests fail (#265) 2022-01-18 00:35:31 +01:00
Luna Nova
43731875ad
Use tempfiles instead of hardcoded /tmp (#264) 2022-01-18 00:32:13 +01:00
jonasBoss
5588cbf3c5
the ui no longer records keycodes if the preset is active (#257)
* the ui no longer records keycodes if the preset is active

since there can be multiple evdev devices in the same grup it was possible to record keycodes even if the injection was active. This was confusing behaviour.

* updated docstring

* fixed test_can_modify_mapping
2022-01-16 11:03:07 +01:00
sezanzeb
d6de1bbd3d One more check for invalid cwd setups 2022-01-15 15:08:05 +01:00
sezanzeb
60960aa095 Made tests in PyCharm work 2022-01-15 15:03:21 +01:00
sezanzeb
334d73b437 increased timeout for TestDBusDaemon 2022-01-14 18:55:11 +01:00
jonasBoss
3cd30c4bf3
Independent uinput (#228) 2022-01-14 18:50:57 +01:00
sezanzeb
47bcefa7f3 #109 New mapping editor with multiline input and improved autocompletion 2022-01-10 20:37:22 +01:00
sezanzeb
063e4bc8b4 Updated copyright year 2022-01-01 13:52:33 +01:00
Tobi
a2ed3696ca
Renamed to Input Remapper 2022-01-01 13:00:49 +01:00
sezanzeb
d3d1d9124f #247 Fixed autoload after rename 2021-12-31 11:59:06 +01:00
jonasBoss
4713511035
Refactored Migrations (#232)
* refactored migrations

moved migration functions to a common migrations file

* moved migration tests to test_migrations.py

* Simplify all_presets() in keymapper/migrations.py

Co-authored-by: Tobi <to.213692@protonmail.ch>

* simplifications/style improvements in migrations.py

Co-authored-by: Tobi <to.213692@protonmail.ch>

* migrations now use version number

and we have some new tests for migrations

* Added docstrings and updated migrations()

* badges, 1.2.2

Co-authored-by: Tobi <to.213692@protonmail.ch>
Co-authored-by: sezanzeb <proxima@sezanzeb.de>
2021-12-15 15:06:23 +01:00
sezanzeb
716b4bb921 #222 Showing the keycode instead of "unknown" 2021-12-02 22:43:14 +01:00
sezanzeb
ef3970f33e #197 Not attempting to autoload if no user is logged in yet 2021-11-22 23:19:59 +01:00
sezanzeb
0017531b22 #197 Lazy loading groups and system_mapping 2021-11-21 21:45:02 +01:00
sezanzeb
d3c955fe04 Renamed EventProducer to JoystickToMouse 2021-11-21 14:58:16 +01:00
sezanzeb
e13780a208 #197 Not running the SharedDict for macros in key-mapper-control 2021-11-20 13:41:34 +01:00
sezanzeb
320fd37ca7 #197 Improved logs 2021-11-20 13:20:46 +01:00
sezanzeb
a150b06748 #197 timeouts, service Requires, added key-mapper-control debug log file 2021-11-14 14:32:22 +01:00
sezanzeb
10700d8ece #200 Fix wheel macro timeout 2021-11-07 10:38:06 +01:00
sezanzeb
1d79ad369b #197 Using timeouts for calls to the daemon in key-mapper-control 2021-11-04 11:41:13 +01:00
sezanzeb
f9e7ef1445 #197 Services started via sudo know the correct config path 2021-10-22 16:07:16 +02:00
sezanzeb
92bb4b1471 calling set_config_dir when the gui starts the service 2021-10-22 15:37:04 +02:00
sezanzeb
2803bb841e 1.2.1 2021-10-20 23:05:50 +02:00
sezanzeb
0f2129712c #194 Fixes nested if_tap macros 2021-10-16 11:38:54 +02:00
sezanzeb
1b2373133e Support for comments in macros 2021-10-07 00:10:11 +02:00
sezanzeb
b233e93eae Support for strings in macros 2021-10-06 01:12:52 +02:00
sezanzeb
79f11b4e34 #183 timeout for if_single, TestMacros split 2021-10-02 22:42:32 +02:00
sezanzeb
3dcacfeced SharedDict unittests 2021-10-02 20:16:17 +02:00
sezanzeb
f5f1e2048a Checking for problematic variable names in set macros 2021-10-02 20:16:07 +02:00
sezanzeb
26d4e04104 keyword arguments, $variables, improved macro docs 2021-10-02 00:55:10 +02:00
sezanzeb
f812710bd0 macros.py split, improved type checking 2021-09-29 23:00:50 +02:00
sezanzeb
fc57ccb361 update badges, fixed and extended test_mapping 2021-09-29 21:22:04 +02:00
sezanzeb
e82f48ac18 split state.py 2021-09-29 20:50:32 +02:00
sezanzeb
0726ccfea3 #183 #120 #49 if_single and if_tap 2021-09-29 20:17:45 +02:00
sezanzeb
b44861b396 black 2021-09-26 12:44:56 +02:00
Pablo Lopez-Jamar
444342f5cc Use the appropriate user home directory. 2021-09-01 08:59:38 -07:00
sezanzeb
ca1b14d55c fixing pipes for systems with multiple users 2021-09-03 16:37:15 +02:00
sezanzeb
0d990fc7a5 #168 add xmodmap fixture 2021-10-02 13:04:17 +02:00
sezanzeb
408beeff7c renamed to TestUser 2021-08-17 23:11:26 +02:00
sezanzeb
2991aa8bc9 test_user.py 2021-08-17 23:06:14 +02:00
sezanzeb
8329abf7d1 #107 extended test a bit 2021-04-29 22:26:07 +02:00
sezanzeb
96d04c1188 updated comment 2021-04-29 22:24:38 +02:00
sezanzeb
36b96935c6 #107 fixed autoload 2021-04-29 22:22:05 +02:00
sezanzeb
f7ad2a6721 shorter shared dict timeout 2021-04-28 00:17:51 +02:00
sezanzeb
3b28ab832b #72 ungrab and earlier grab 2021-04-26 23:21:52 +02:00
sezanzeb
99bc679b82 #91 #104 added set and ifeq macros 2021-04-25 19:28:02 +02:00
sezanzeb
8daf55c196 #93 support for devices sharing the same name 2021-04-23 11:51:21 +02:00