fdd2c79950 
								
							 
						 
						
							
							
								
								settings: allow unkonwn keys in Key rule conditions  
							
							
							
						 
						
							2024-08-28 10:40:23 -04:00  
				
					
						
							
							
								 
						
							
								815dce07be 
								
							 
						 
						
							
							
								
								Unify imports in logitech package  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2024-05-23 16:42:18 -04:00  
				
					
						
							
							
								 
						
							
								500b9998c5 
								
							 
						 
						
							
							
								
								Fix macOS compatibility and reenable CI tests  
							
							... 
							
							
							
							* Fix CI for macOS
* Fix error message for missing hidapi
* Skip some device and receiver tests on macOS
Tests fail on macOS, enable them when unit tests are
refined to only test the module without dependencies.
* Safe guard dbus import 
							
						 
						
							2024-05-22 18:45:40 -04:00  
				
					
						
							
							
								 
						
							
								1d5b61fbf2 
								
							 
						 
						
							
							
								
								diversion: Simplify and type hint  
							
							... 
							
							
							
							- Make static method an easy testable function.
- Fix variable name clashes 
							
						 
						
							2024-05-05 10:43:39 -04:00  
				
					
						
							
							
								 
						
							
								959dd2a35b 
								
							 
						 
						
							
							
								
								Refactor rule loading for testability ( #2456 )  
							
							... 
							
							
							
							rules: Introduce tests for YAML rule loading functionality. 
							
						 
						
							2024-04-27 17:56:27 -04:00  
				
					
						
							
							
								 
						
							
								4e6361429e 
								
							 
						 
						
							
							
								
								refactor: Use f-strings for more exceptions and log message  
							
							... 
							
							
							
							Semi manually convert remaining strings with no translation to f-string. 
							
						 
						
							2024-03-24 07:01:56 -04:00  
				
					
						
							
							
								 
						
							
								154dd7017f 
								
							 
						 
						
							
							
								
								rules: allow sub-second delays in Later  
							
							
							
						 
						
							2024-03-14 17:08:47 -04:00  
				
					
						
							
							
								 
						
							
								e92f1a8a0b 
								
							 
						 
						
							
							
								
								Automatically upgrade strings to f-string  
							
							... 
							
							
							
							Used flynt to convert strings to f-strings, where safely possible.
Usage:
flynt .
Related #2372  
							
						 
						
							2024-03-13 11:02:50 -04:00  
				
					
						
							
							
								 
						
							
								9c5ba6445e 
								
							 
						 
						
							
							
								
								device: remove status from Device and Receiver  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								7ef3059b69 
								
							 
						 
						
							
							
								
								clean up: Remove editor specific marks  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2024-02-29 10:10:46 -05:00  
				
					
						
							
							
								 
						
							
								eb937fcc3a 
								
							 
						 
						
							
							
								
								Manually fix linter issues  
							
							... 
							
							
							
							Related #2295  
							
						 
						
							2024-02-20 15:41:10 -05:00  
				
					
						
							
							
								 
						
							
								7774569971 
								
							 
						 
						
							
							
								
								Apply ruff format  
							
							... 
							
							
							
							Run ruff auto formatting using:
ruff format .
Related #2295  
							
						 
						
							2024-02-20 15:41:10 -05:00  
				
					
						
							
							
								 
						
							
								ce00a78e7f 
								
							 
						 
						
							
							
								
								rules: fix bug in Set action  
							
							
							
						 
						
							2024-02-20 11:16:40 -05:00  
				
					
						
							
							
								 
						
							
								ed248c62b9 
								
							 
						 
						
							
							
								
								device: add callback to call when changing a setting  
							
							
							
						 
						
							2024-02-20 06:19:23 -05:00  
				
					
						
							
							
								 
						
							
								d1c899d6da 
								
							 
						 
						
							
							
								
								solaar: improve imports and guard Gtk, etc imports with correct version  
							
							... 
							
							
							
							solaar: move imports to top of files
solaar: move more imports to top of files
solaar: guard Gtk, etc imports with correct version 
							
						 
						
							2024-02-18 06:21:35 -05:00  
				
					
						
							
							
								 
						
							
								31d795fcb8 
								
							 
						 
						
							
							
								
								device: improve imports in logitech_receiver  
							
							... 
							
							
							
							device: move some imports to top of modules
device: break up imports loop with device descriptors
device: break up imports loop by moving a function from notifications.py to setting_templates.py
device: break import loop between device.py and diversion.py by using device to access method 
							
						 
						
							2024-02-18 06:21:35 -05:00  
				
					
						
							
							
								 
						
							
								87658fb189 
								
							 
						 
						
							
							
								
								logging: Simplify logger instantiation  
							
							... 
							
							
							
							* logging: Simplify logger instantiation
Relates #2254 
* logging: Remove aliases
Relates #2254 
* logging: Replace deprecated warn with warning
Related #2254 
* logging: Fix mistake
Related #2257  
							
						 
						
							2024-02-10 13:55:27 -05:00  
				
					
						
							
							
								 
						
							
								0db84f5aa4 
								
							 
						 
						
							
							
								
								rules: write empty file if there are no rules to save  
							
							
							
						 
						
							2024-01-28 15:36:28 -05:00  
				
					
						
							
							
								 
						
							
								fa7606e242 
								
							 
						 
						
							
							
								
								rules: style fix  
							
							
							
						 
						
							2023-11-28 16:45:34 -05:00  
				
					
						
							
							
								 
						
							
								29ff35d553 
								
							 
						 
						
							
							
								
								Partial support for macOS and Windows ( #1971 )  
							
							... 
							
							
							
							* Add support for macOS via hidapi
* Style fixes
* Ignore keyboard and mouse input devices
* Don't require pyudev on mac and windows
* Fix debug log format error
* More logging for failed hidpp checks
* Don't try to load hid_darwin_set_open_exclusive on windows
* Bring back button for rule editor since some rules will work
---------
Co-authored-by: markopy <(none)>
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com> 
							
						 
						
							2023-11-28 16:25:17 -05:00  
				
					
						
							
							
								 
						
							
								ffd66e74c2 
								
							 
						 
						
							
							
								
								rules: fix test for device equality  
							
							
							
						 
						
							2023-11-08 10:05:53 -05:00  
				
					
						
							
							
								 
						
							
								90a0408bd6 
								
							 
						 
						
							
							
								
								rules: add single depress and release options for rule mouse click action  
							
							
							
						 
						
							2023-09-16 10:28:56 -04:00  
				
					
						
							
							
								 
						
							
								fc38862e8b 
								
							 
						 
						
							
							
								
								rules: add rule condition for hostname  
							
							
							
						 
						
							2023-09-16 10:28:56 -04:00  
				
					
						
							
							
								 
						
							
								0e8e052629 
								
							 
						 
						
							
							
								
								Documentation update to mention the gnome extension to get rules working under Wayland ( #2103 )  
							
							... 
							
							
							
							* Documentation update to mention the gnome extension to get rules working under Wayland
* Updates
* Updates 
							
						 
						
							2023-08-01 07:20:52 -04:00  
				
					
						
							
							
								 
						
							
								91f1894e8b 
								
							 
						 
						
							
							
								
								Add support for process condition under wayland using solaar-gnome-extension ( #2101 )  
							
							... 
							
							
							
							* Add support for process condition under wayland using solaar-gnome-extension
* Fix typo
* Improvements
* Rename dbus extension
* Final fixes
* Fix style checks
* More styling fixes
* More fixes
* More fixes
---------
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com> 
							
						 
						
							2023-07-26 06:53:57 -04:00  
				
					
						
							
							
								 
						
							
								46a06f3870 
								
							 
						 
						
							
							
								
								device: fix bug in decoding G keys notification  
							
							
							
						 
						
							2023-04-13 09:59:11 -04:00  
				
					
						
							
							
								 
						
							
								55865d13ad 
								
							 
						 
						
							
							
								
								rules: add Test condition for battery charging  
							
							
							
						 
						
							2023-02-25 19:25:43 -05:00  
				
					
						
							
							
								 
						
							
								df746fd7f4 
								
							 
						 
						
							
							
								
								rules: add Device condition  
							
							
							
						 
						
							2023-02-18 11:25:25 -05:00  
				
					
						
							
							
								 
						
							
								6cbd45a1c0 
								
							 
						 
						
							
							
								
								rules: add more debugging output for rules  
							
							
							
						 
						
							2023-02-03 09:12:59 -05:00  
				
					
						
							
							
								 
						
							
								bfe4993e54 
								
							 
						 
						
							
							
								
								rules: add KeyIsDown condition  
							
							
							
						 
						
							2022-12-17 13:21:52 -05:00  
				
					
						
							
							
								 
						
							
								39ae8d4b32 
								
							 
						 
						
							
							
								
								rules: add argument to thumb_wheel rules  
							
							
							
						 
						
							2022-12-11 17:27:37 -05:00  
				
					
						
							
							
								 
						
							
								5656f90cdb 
								
							 
						 
						
							
							
								
								misc: update yapf version  
							
							... 
							
							
							
							* misc: update yapf version v2
* Update .pre-commit-config.yaml
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com> 
							
						 
						
							2022-11-26 22:37:32 -05:00  
				
					
						
							
							
								 
						
							
								9a89ef30d3 
								
							 
						 
						
							
							
								
								rules: fix bug causing repeated later execution  
							
							
							
						 
						
							2022-09-26 09:36:46 -04:00  
				
					
						
							
							
								 
						
							
								619223e8be 
								
							 
						 
						
							
							
								
								rules: add Later action  
							
							
							
						 
						
							2022-09-26 09:36:46 -04:00  
				
					
						
							
							
								 
						
							
								7663e204bb 
								
							 
						 
						
							
							
								
								rules: don't check modifiers for KeyPress actions that are not clicks  
							
							
							
						 
						
							2022-09-20 21:03:28 -04:00  
				
					
						
							
							
								 
						
							
								002ca8bdcb 
								
							 
						 
						
							
							
								
								rules: fix bug with non-recognized empty mouse movement  
							
							
							
						 
						
							2022-09-07 11:34:46 -04:00  
				
					
						
							
							
								 
						
							
								9f8882acd8 
								
							 
						 
						
							
							
								
								rules: add rule condition to test whether a device is active  
							
							
							
						 
						
							2022-08-23 09:18:57 -04:00  
				
					
						
							
							
								 
						
							
								7ab7bf6c1a 
								
							 
						 
						
							
							
								
								rules: downgrade Set prolem messages from error to warning  
							
							
							
						 
						
							2022-08-23 08:29:15 -04:00  
				
					
						
							
							
								 
						
							
								95cbaeaba3 
								
							 
						 
						
							
							
								
								ui: don't produce warnings when editing rules in rule editor  
							
							
							
						 
						
							2022-08-21 06:08:40 -04:00  
				
					
						
							
							
								 
						
							
								e164291e7a 
								
							 
						 
						
							
							
								
								rules: save rules file even if there are no rules to save  
							
							
							
						 
						
							2022-08-21 06:08:40 -04:00  
				
					
						
							
							
								 
						
							
								a6f08b91aa 
								
							 
						 
						
							
							
								
								rules: require gtk 3.0  
							
							
							
						 
						
							2022-07-26 19:04:07 -04:00  
				
					
						
							
							
								 
						
							
								2229d64a7c 
								
							 
						 
						
							
							
								
								rules: Fix circular import ( #1673 )  
							
							
							
						 
						
							2022-07-26 14:30:27 -04:00  
				
					
						
							
							
								 
						
							
								f291321f8b 
								
							 
						 
						
							
							
								
								rules: find devices using method in Device  
							
							
							
						 
						
							2022-07-26 09:28:17 -04:00  
				
					
						
							
							
								 
						
							
								cacf94b6f7 
								
							 
						 
						
							
							
								
								settings: allow multiple keys for mouse gestures and dpi sliding  
							
							
							
						 
						
							2022-07-23 06:44:57 -04:00  
				
					
						
							
							
								 
						
							
								c8ba397e0e 
								
							 
						 
						
							
							
								
								rules: add depress and release options to KeyPress rule action  
							
							
							
						 
						
							2022-06-21 20:23:22 -04:00  
				
					
						
							
							
								 
						
							
								f1e2a0c449 
								
							 
						 
						
							
							
								
								receiver: use built-ins for conversions between int and byte string  
							
							
							
						 
						
							2022-06-21 18:39:37 -04:00  
				
					
						
							
							
								 
						
							
								db9c065821 
								
							 
						 
						
							
							
								
								rules: don't add HI_RES wheel ecodes to evdev device codes  
							
							
							
						 
						
							2022-06-16 09:16:57 -04:00  
				
					
						
							
							
								 
						
							
								0f68ef5a43 
								
							 
						 
						
							
							
								
								rules: use keys with only group 0 mapping from other keyboard groups  
							
							
							
						 
						
							2022-05-23 10:43:57 -04:00  
				
					
						
							
							
								 
						
							
								1c596a8124 
								
							 
						 
						
							
							
								
								rules: only one warning per inaccessible key for KeyPress action  
							
							
							
						 
						
							2022-05-11 12:35:04 -04:00  
				
					
						
							
							
								 
						
							
								97344c4660 
								
							 
						 
						
							
							
								
								rules: better determination of keycodes and handle keysym level  
							
							
							
						 
						
							2022-05-08 07:26:07 -04:00