Commit Graph

338 Commits (a5383f33e4c27628aa72ac8891d895a8e8f5fbaf)

Author SHA1 Message Date
Tobi 8f8800498c
Fixed false positive if plus-syntax in comment (#316) 3 years ago
Tobi fcfc58287c
`parse` understands that strings are not macros (#315) 3 years ago
Tobi 216b9d730d
Mapping to " " caused problems, general test improvements (#314) 3 years ago
Tobi 7fcd8fb59f
Greying out the key recording toggle (#298) 3 years ago
Tobi 55227e0b5a
Changed "otherwise" to "else" in macros, added migration (#291) 3 years ago
Luna Nova ee6b48ac32
Add github actions workflows (#267)
* Run linters and unit tests with github actions

* Reformat with black, 22.1.0 (compiled: yes)

* Remove native deps as should no longer be needed

* Remove pylint from workflows

* Remove unused Gtk dependency in test_daemon.py

* Install subset of python deps with apt-get for ci
3 years ago
sezanzeb 162e7fcbf7 Avoiding GObject dependencies for unit tests 3 years ago
jonasBoss 3732d9e1e6
#278 Fix compatability with python 3.8 (#280) 3 years ago
jonasBoss b3e1e4ca19
Refactorings (#275) 3 years ago
sezanzeb 3fe52d9c99 Moved numlock test to integration folder, black 3 years ago
sezanzeb 1f92ac086b Avoiding some redundant calls in the GUI, improved test lags 3 years ago
sezanzeb 753ce5319f Logging process name and coloring logs based on file path 3 years ago
sezanzeb dda3bd2d81 Removed unused imports, updated badges, updated test instructions 3 years ago
sezanzeb 271c250337 Split tests into unit and integration 3 years ago
Luna Nova e316c6f36c
Use non-zero exit code if tests fail (#265) 3 years ago
Luna Nova 43731875ad
Use tempfiles instead of hardcoded /tmp (#264) 3 years ago
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
3 years ago
sezanzeb d6de1bbd3d One more check for invalid cwd setups 3 years ago
sezanzeb 60960aa095 Made tests in PyCharm work 3 years ago
sezanzeb 334d73b437 increased timeout for TestDBusDaemon 3 years ago
jonasBoss 3cd30c4bf3
Independent uinput (#228) 3 years ago
sezanzeb 47bcefa7f3 #109 New mapping editor with multiline input and improved autocompletion 3 years ago
sezanzeb 063e4bc8b4 Updated copyright year 3 years ago
Tobi a2ed3696ca
Renamed to Input Remapper 3 years ago
sezanzeb d3d1d9124f #247 Fixed autoload after rename 3 years ago
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>
3 years ago
sezanzeb 716b4bb921 #222 Showing the keycode instead of "unknown" 3 years ago
sezanzeb ef3970f33e #197 Not attempting to autoload if no user is logged in yet 3 years ago
sezanzeb 0017531b22 #197 Lazy loading groups and system_mapping 3 years ago
sezanzeb d3c955fe04 Renamed EventProducer to JoystickToMouse 3 years ago
sezanzeb e13780a208 #197 Not running the SharedDict for macros in key-mapper-control 3 years ago
sezanzeb 320fd37ca7 #197 Improved logs 3 years ago
sezanzeb a150b06748 #197 timeouts, service Requires, added key-mapper-control debug log file 3 years ago
sezanzeb 10700d8ece #200 Fix wheel macro timeout 3 years ago
sezanzeb 1d79ad369b #197 Using timeouts for calls to the daemon in key-mapper-control 3 years ago
sezanzeb f9e7ef1445 #197 Services started via sudo know the correct config path 3 years ago
sezanzeb 92bb4b1471 calling set_config_dir when the gui starts the service 3 years ago
sezanzeb 2803bb841e 1.2.1 3 years ago
sezanzeb 0f2129712c #194 Fixes nested if_tap macros 3 years ago
sezanzeb 1b2373133e Support for comments in macros 3 years ago
sezanzeb b233e93eae Support for strings in macros 3 years ago
sezanzeb 79f11b4e34 #183 timeout for if_single, TestMacros split 3 years ago
sezanzeb 3dcacfeced SharedDict unittests 3 years ago
sezanzeb f5f1e2048a Checking for problematic variable names in set macros 3 years ago
sezanzeb 26d4e04104 keyword arguments, $variables, improved macro docs 3 years ago
sezanzeb f812710bd0 macros.py split, improved type checking 3 years ago
sezanzeb fc57ccb361 update badges, fixed and extended test_mapping 3 years ago
sezanzeb e82f48ac18 split state.py 3 years ago
sezanzeb 0726ccfea3 #183 #120 #49 if_single and if_tap 3 years ago
sezanzeb b44861b396 black 3 years ago
Pablo Lopez-Jamar 444342f5cc Use the appropriate user home directory. 3 years ago
sezanzeb ca1b14d55c fixing pipes for systems with multiple users 3 years ago
sezanzeb 0d990fc7a5 #168 add xmodmap fixture 3 years ago
sezanzeb 408beeff7c renamed to TestUser 3 years ago
sezanzeb 2991aa8bc9 test_user.py 3 years ago
sezanzeb 8329abf7d1 #107 extended test a bit 3 years ago
sezanzeb 96d04c1188 updated comment 3 years ago
sezanzeb 36b96935c6 #107 fixed autoload 3 years ago
sezanzeb f7ad2a6721 shorter shared dict timeout 3 years ago
sezanzeb 3b28ab832b #72 ungrab and earlier grab 3 years ago
sezanzeb 99bc679b82 #91 #104 added set and ifeq macros 3 years ago
sezanzeb 8daf55c196 #93 support for devices sharing the same name 3 years ago
sezanzeb b9c015c49d #78 filtering yubikey devices 3 years ago
sezanzeb a055662407 improved key names 4 years ago
sezanzeb db7bb69f8e changed default value for joysticks, clears config for new presets 4 years ago
sezanzeb 4e37c9dc69 fixed bug in device list 4 years ago
sezanzeb 8595aa00e2 only listing unmodified symbols from xmodmap 4 years ago
sezanzeb a5b5f562c8 #37 mapping left mouse buttons 4 years ago
sezanzeb 93aa393051 improved gamepad button names 4 years ago
sezanzeb 7d2d542d6e #75 ctrl+r to refresh the device list 4 years ago
sezanzeb a685606083 only valid symbols in list, corrects casings 4 years ago
sezanzeb 07cc8e1cc6 #73 #74 #76 improved gamepad support 4 years ago
sezanzeb a6f6df388f #65 device icons 4 years ago
sezanzeb 5c0765dd1a #73 extended test a bit 4 years ago
sezanzeb 545f14f4b7 #73 mapping keys that unfocus the window 4 years ago
sezanzeb 330113e061 more explicit daemonization 4 years ago
sezanzeb 69f4b98c37 fixed mapping joysticks as buttons 4 years ago
sezanzeb 5e4ae668dd gtk not running as root anymore 4 years ago
sezanzeb 3c97fd34b4 #65 UI improvements 4 years ago
sezanzeb f5b91e2117 #66 limiting injected names to 80 chars 4 years ago
sezanzeb fd759e02ad #63 added e, mouse and wheel macros 4 years ago
sezanzeb edcd3c9e2e #65 fixed name of new presets 4 years ago
sezanzeb 772fb8da4d #61 copying presets, fixed autoload after rename 4 years ago
sezanzeb f045943396 #59 fixed incorrect release forwarding 4 years ago
sezanzeb 017aa9ab43 #46 written key combination didn't release 4 years ago
sezanzeb 441a7c44ab 0.7.0, updated copyright notice 4 years ago
sezanzeb 634a8c5270 cleaning up history of created uinputs in tests 4 years ago
sezanzeb 99dd265d9a preventing duplicate macro runs 4 years ago
sezanzeb f2bb81f199 better compatibility by injecting into a dedicated devnode 4 years ago
sezanzeb 14bbd9f7fc only considering joystick events for buttons on gamepads 4 years ago
sezanzeb 462809462a revised is_gamepad 4 years ago
sezanzeb a68d0aeb60 drawing tablet improvements 4 years ago
sezanzeb ec341d0001 separated numlock functions to new file 4 years ago
sezanzeb 9f469e3ce5 moved injection-wide infos to a dedicated context class 4 years ago
sezanzeb 042d296d0f some simplifications of the Injector class api 4 years ago
sezanzeb 6797e8826f some file refactoring 4 years ago
sezanzeb 5e150a3209 no redundant macro parsings 4 years ago
sezanzeb a983cf9126 more checks for graphics tablet capabilities 4 years ago
sezanzeb cb577cf2b3 graphics tablet improvements 4 years ago
sezanzeb cd43ca4a41 logging original capabilities 4 years ago