1729189981 
								
							 
						 
						
							
							
								
								base: Add find_paired_node functions  
							
							... 
							
							
							
							Avoid direct access to hidapi and use the base module as low-level API
instead. This change replaces the remaining calls to find_paired_node
and find_paired_node_wpid by exposing them via base module. 
							
						 
						
							2024-10-11 07:42:38 -04:00  
				
					
						
							
							
								 
						
							
								8d0672ac3c 
								
							 
						 
						
							
							
								
								base_usb: Add external interface  
							
							... 
							
							
							
							Clean up, type hint and tests base_usb and related modules. 
							
						 
						
							2024-10-11 07:42:38 -04:00  
				
					
						
							
							
								 
						
							
								a75c4b9679 
								
							 
						 
						
							
							
								
								ui/about: Use Model-View-Presenter pattern for testability  
							
							... 
							
							
							
							Split model and view, and enable view mocks for unit tests without GDK. 
							
						 
						
							2024-10-11 07:42:38 -04:00  
				
					
						
							
							
								 
						
							
								46fafa0e68 
								
							 
						 
						
							
							
								
								hidapi: Explicitly load hidapi/udev implementation  
							
							... 
							
							
							
							Linux uses udev, other platforms use the cross-platform hidapi
implementation. Remove implicit loading of hidapi in hidapi/__init__.py. 
							
						 
						
							2024-10-11 07:42:38 -04:00  
				
					
						
							
							
								 
						
							
								99fc9c6fcb 
								
							 
						 
						
							
							
								
								receiver: Remove hard dependency on hidapi  
							
							
							
						 
						
							2024-10-11 07:42:38 -04:00  
				
					
						
							
							
								 
						
							
								615499dce2 
								
							 
						 
						
							
							
								
								device: Remove hard dependency on hidapi  
							
							
							
						 
						
							2024-10-11 07:42:38 -04:00  
				
					
						
							
							
								 
						
							
								65d3b406c0 
								
							 
						 
						
							
							
								
								keysyms: Introduce tests for this package  
							
							
							
						 
						
							2024-10-11 07:42:38 -04:00  
				
					
						
							
							
								 
						
							
								aa354dc4c4 
								
							 
						 
						
							
							
								
								Replace global sw_id with function call  
							
							... 
							
							
							
							Add test for it. 
							
						 
						
							2024-10-08 14:35:16 -04:00  
				
					
						
							
							
								 
						
							
								2442299539 
								
							 
						 
						
							
							
								
								base: Simplify receiver info retrieval  
							
							... 
							
							
							
							- Remove comments with unused receivers
- Simplify receiver hardcoded info 
							
						 
						
							2024-10-08 14:35:16 -04:00  
				
					
						
							
							
								 
						
							
								d5af19be8a 
								
							 
						 
						
							
							
								
								Make ui/desktop_notifications testable  
							
							... 
							
							
							
							Introduce unit tests.
Related #2273  
							
						 
						
							2024-10-08 14:35:16 -04:00  
				
					
						
							
							
								 
						
							
								912afff173 
								
							 
						 
						
							
							
								
								Make lr/desktop_notifications testable  
							
							... 
							
							
							
							Introduce unit tests.
Related #2273  
							
						 
						
							2024-10-08 14:35:16 -04:00  
				
					
						
							
							
								 
						
							
								741c0861c2 
								
							 
						 
						
							
							
								
								Clarify that fake hidpp is used  
							
							... 
							
							
							
							This module shouldn't be necessary on the long run. Remove pieces from
it whenever possible. 
							
						 
						
							2024-10-08 14:35:16 -04:00  
				
					
						
							
							
								 
						
							
								40033c0183 
								
							 
						 
						
							
							
								
								Introduce hid_parser tests  
							
							... 
							
							
							
							Add basic tests to cover the package. 
							
						 
						
							2024-09-15 09:19:13 -04:00  
				
					
						
							
							
								 
						
							
								70def31942 
								
							 
						 
						
							
							
								
								Refactor: Distinguish module from package  
							
							... 
							
							
							
							Adapt module names to easily distinguish them.
Related #2480  
							
						 
						
							2024-09-15 09:18:51 -04:00  
				
					
						
							
							
								 
						
							
								be83dac209 
								
							 
						 
						
							
							
								
								hid: Convert definition of HID registers to enum  
							
							... 
							
							
							
							* Refactor HID Register definitions
Use enums for distinct type hints, easy discovery of registers.
Make constants uppercase and benefit from enum auto-completion.
Related #2273 
* Improve type hints: Registers 
							
						 
						
							2024-06-02 10:34:00 -04:00  
				
					
						
							
							
								 
						
							
								244d0ee88a 
								
							 
						 
						
							
							
								
								solaar: clean up locale code  
							
							... 
							
							
							
							Usage example for German:
LC_ALL=de_DE.UTF-8 solaar
Related #2507  
							
						 
						
							2024-06-01 12:09:55 -04:00  
				
					
						
							
							
								 
						
							
								c29231bc6b 
								
							 
						 
						
							
							
								
								refactor: Creation of devices ( #2493 )  
							
							... 
							
							
							
							* Refine interfaces for testability
* Reenable fixed device tests 
							
						 
						
							2024-05-27 11:58:16 -04:00  
				
					
						
							
							
								 
						
							
								90b0db6c3b 
								
							 
						 
						
							
							
								
								device: don't ping device when getting name or codename  
							
							
							
						 
						
							2024-05-22 21:22:08 -04:00  
				
					
						
							
							
								 
						
							
								c9dc232951 
								
							 
						 
						
							
							
								
								Refactor: Use dataclasses and enums  
							
							... 
							
							
							
							Replace unnecessary NamedInts in favour of default data types.
Simplify interfaces by reducing possible input from strings to members
of an enum. 
							
						 
						
							2024-05-22 21:14:41 -04:00  
				
					
						
							
							
								 
						
							
								193dbfda21 
								
							 
						 
						
							
							
								
								hidpp10: Move independent functions to module level  
							
							
							
						 
						
							2024-05-22 21:14:41 -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  
				
					
						
							
							
								 
						
							
								20d34025d8 
								
							 
						 
						
							
							
								
								diversion: Add unit tests  
							
							
							
						 
						
							2024-05-05 10:43:39 -04:00  
				
					
						
							
							
								 
						
							
								3ffa4e30f1 
								
							 
						 
						
							
							
								
								settings: get and use current host number for K375sFnSwap because of bug in firmware of MX Keys S  
							
							
							
						 
						
							2024-05-04 04:46:27 -04:00  
				
					
						
							
							
								 
						
							
								da1cb53c1b 
								
							 
						 
						
							
							
								
								settings: optimize write for per-key lighting  
							
							
							
						 
						
							2024-05-03 11:54:24 -04:00  
				
					
						
							
							
								 
						
							
								e5967edc66 
								
							 
						 
						
							
							
								
								settings: add and initialize per-key lighting to a special no-change value  
							
							
							
						 
						
							2024-05-03 11:54:24 -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  
				
					
						
							
							
								 
						
							
								c4e2a5683a 
								
							 
						 
						
							
							
								
								device: initialize device registers to empty list  
							
							
							
						 
						
							2024-04-19 16:05:29 -04:00  
				
					
						
							
							
								 
						
							
								e667d41c7b 
								
							 
						 
						
							
							
								
								solaar: use bluez dbus signals to disconnect and connect bluetooth devices  
							
							
							
						 
						
							2024-04-18 20:32:40 -04:00  
				
					
						
							
							
								 
						
							
								d7ce636917 
								
							 
						 
						
							
							
								
								device: handle a different signal for onboard profiles directory in ROM  
							
							
							
						 
						
							2024-04-15 14:40:50 -04:00  
				
					
						
							
							
								 
						
							
								1eb1d4b198 
								
							 
						 
						
							
							
								
								tests: extend tests for device.py  
							
							
							
						 
						
							2024-04-13 18:38:44 -04:00  
				
					
						
							
							
								 
						
							
								c7195881e3 
								
							 
						 
						
							
							
								
								tests: expand tests for device.py  
							
							
							
						 
						
							2024-04-13 18:38:44 -04:00  
				
					
						
							
							
								 
						
							
								9bb2a1ff5c 
								
							 
						 
						
							
							
								
								tests: expand tests for settings_templates  
							
							
							
						 
						
							2024-04-13 18:38:44 -04:00  
				
					
						
							
							
								 
						
							
								c7a2f1698b 
								
							 
						 
						
							
							
								
								tests: extend testing of hidpp20  
							
							
							
						 
						
							2024-04-13 18:38:44 -04:00  
				
					
						
							
							
								 
						
							
								c283da27df 
								
							 
						 
						
							
							
								
								tests: extend testing of hidpp20  
							
							
							
						 
						
							2024-04-13 18:38:44 -04:00  
				
					
						
							
							
								 
						
							
								6c67789bad 
								
							 
						 
						
							
							
								
								tests: extend device testing  
							
							
							
						 
						
							2024-04-13 18:38:44 -04:00  
				
					
						
							
							
								 
						
							
								d12575b47d 
								
							 
						 
						
							
							
								
								tests: test GESTURES settings  
							
							
							
						 
						
							2024-04-13 18:38:44 -04:00  
				
					
						
							
							
								 
						
							
								e64eec18e9 
								
							 
						 
						
							
							
								
								tests: extend testing of hidpp20  
							
							
							
						 
						
							2024-04-13 18:38:44 -04:00  
				
					
						
							
							
								 
						
							
								b43cdace79 
								
							 
						 
						
							
							
								
								tests: expand tests for settings_templates  
							
							
							
						 
						
							2024-04-09 10:31:06 -04:00  
				
					
						
							
							
								 
						
							
								8de3a1d2e2 
								
							 
						 
						
							
							
								
								device: better support for extended ajustable dpi  
							
							
							
						 
						
							2024-04-09 10:31:06 -04:00  
				
					
						
							
							
								 
						
							
								c70e8b54bf 
								
							 
						 
						
							
							
								
								tests: remove unused code  
							
							
							
						 
						
							2024-03-27 18:02:55 -04:00  
				
					
						
							
							
								 
						
							
								12f3f2e856 
								
							 
						 
						
							
							
								
								tests: adjust imports to always import installed version  
							
							
							
						 
						
							2024-03-27 18:02:55 -04:00  
				
					
						
							
							
								 
						
							
								cb16a46b93 
								
							 
						 
						
							
							
								
								tests: test more settings  
							
							
							
						 
						
							2024-03-27 11:15:15 -04:00  
				
					
						
							
							
								 
						
							
								f38fbcf949 
								
							 
						 
						
							
							
								
								settings: provide symbolic names for per-key lighting keys  
							
							
							
						 
						
							2024-03-27 11:15:15 -04:00  
				
					
						
							
							
								 
						
							
								4d0f93b35c 
								
							 
						 
						
							
							
								
								tests: improve infrastructure for testing setting_templates  
							
							
							
						 
						
							2024-03-27 11:15:15 -04:00  
				
					
						
							
							
								 
						
							
								1ed5f765e3 
								
							 
						 
						
							
							
								
								settings: implement and test per-key lighting  
							
							
							
						 
						
							2024-03-27 11:15:15 -04:00  
				
					
						
							
							
								 
						
							
								04a818f215 
								
							 
						 
						
							
							
								
								tests: check for Gtk initialization and don't run tests that depend on it  
							
							
							
						 
						
							2024-03-25 09:13:22 -04:00  
				
					
						
							
							
								 
						
							
								41aacefa5e 
								
							 
						 
						
							
							
								
								tests: test GUI pair_window  
							
							
							
						 
						
							2024-03-25 09:13:22 -04:00  
				
					
						
							
							
								 
						
							
								7d868425e7 
								
							 
						 
						
							
							
								
								tests: fix tests for RBG effects  
							
							
							
						 
						
							2024-03-24 15:44:15 -04:00  
				
					
						
							
							
								 
						
							
								dbd9fcfca6 
								
							 
						 
						
							
							
								
								tests: add tests for RGB EFFECTS settings  
							
							
							
						 
						
							2024-03-24 15:44:15 -04:00  
				
					
						
							
							
								 
						
							
								89b7fb6ef3 
								
							 
						 
						
							
							
								
								tests: add tests for LEDEffect structures in hidpp20  
							
							
							
						 
						
							2024-03-24 15:44:15 -04:00  
				
					
						
							
							
								 
						
							
								3876f07d57 
								
							 
						 
						
							
							
								
								settings: implement and test BRIGHTNESS_CONTROL  
							
							
							
						 
						
							2024-03-24 15:44:15 -04:00  
				
					
						
							
							
								 
						
							
								a5f1dd09a2 
								
							 
						 
						
							
							
								
								tests: expand tests for settings_templates  
							
							
							
						 
						
							2024-03-24 07:02:39 -04:00  
				
					
						
							
							
								 
						
							
								e9297cf8d8 
								
							 
						 
						
							
							
								
								tests: expand tests for settings_templates  
							
							
							
						 
						
							2024-03-23 10:11:30 -04:00  
				
					
						
							
							
								 
						
							
								88ac4c9f89 
								
							 
						 
						
							
							
								
								tests: use new test methods in test_hidpp20_simple  
							
							
							
						 
						
							2024-03-23 10:11:30 -04:00  
				
					
						
							
							
								 
						
							
								5e351399f5 
								
							 
						 
						
							
							
								
								tests: add tests for setting_templates  
							
							
							
						 
						
							2024-03-23 10:11:30 -04:00  
				
					
						
							
							
								 
						
							
								07c0d35f80 
								
							 
						 
						
							
							
								
								tests: fix finding paired node in test_device  
							
							
							
						 
						
							2024-03-23 08:26:12 -04:00  
				
					
						
							
							
								 
						
							
								10e3f844dd 
								
							 
						 
						
							
							
								
								tests: use hidpp module in several test modules  
							
							
							
						 
						
							2024-03-23 08:26:12 -04:00  
				
					
						
							
							
								 
						
							
								ebc76bca24 
								
							 
						 
						
							
							
								
								tests: add tests for logitech_receiver device  
							
							
							
						 
						
							2024-03-23 08:26:12 -04:00  
				
					
						
							
							
								 
						
							
								871322bf68 
								
							 
						 
						
							
							
								
								tests: improve coverage of receiver.py  
							
							
							
						 
						
							2024-03-16 16:24:33 -04:00  
				
					
						
							
							
								 
						
							
								e0047024a5 
								
							 
						 
						
							
							
								
								tests: use 3.7 type hint  
							
							
							
						 
						
							2024-03-16 16:20:39 -04:00  
				
					
						
							
							
								 
						
							
								6164317a64 
								
							 
						 
						
							
							
								
								tests: improve hidpp20 coverage  
							
							
							
						 
						
							2024-03-16 16:20:39 -04:00  
				
					
						
							
							
								 
						
							
								8de3866696 
								
							 
						 
						
							
							
								
								tests: fully cover hidpp10  
							
							
							
						 
						
							2024-03-16 16:20:39 -04:00  
				
					
						
							
							
								 
						
							
								d76eed85f6 
								
							 
						 
						
							
							
								
								device: fix bug in setting configuration cookie due to bad documentation  
							
							
							
						 
						
							2024-03-14 17:06:17 -04:00  
				
					
						
							
							
								 
						
							
								d5bdf2b0f5 
								
							 
						 
						
							
							
								
								tests: complete testing of common  
							
							
							
						 
						
							2024-03-13 16:08:16 -04:00  
				
					
						
							
							
								 
						
							
								54ee78ee25 
								
							 
						 
						
							
							
								
								tests: start coverage of complex structures in hidpp20  
							
							
							
						 
						
							2024-03-13 16:08:16 -04:00  
				
					
						
							
							
								 
						
							
								4632c46e30 
								
							 
						 
						
							
							
								
								tests: expand coverage of hidpp20  
							
							
							
						 
						
							2024-03-13 16:08:16 -04:00  
				
					
						
							
							
								 
						
							
								03a5ca3d49 
								
							 
						 
						
							
							
								
								tests: expand coverage of common  
							
							
							
						 
						
							2024-03-13 16:08:16 -04:00  
				
					
						
							
							
								 
						
							
								5b09ace1f5 
								
							 
						 
						
							
							
								
								ruff: Apply single line import format  
							
							... 
							
							
							
							# Usage
pre-commit run --all-files
Related #2295  
							
						 
						
							2024-03-13 15:41:21 -04:00  
				
					
						
							
							
								 
						
							
								0d225f6cb1 
								
							 
						 
						
							
							
								
								test: Test base product information  
							
							... 
							
							
							
							* test: Test base product information
Related #1097 
* Fix dependencies for gi 
							
						 
						
							2024-03-10 10:11:02 -04:00  
				
					
						
							
							
								 
						
							
								7ec3eddccc 
								
							 
						 
						
							
							
								
								test: Extract get_kind_from_index function and test it  
							
							... 
							
							
							
							Pull get_kind_from_index from class to module level and add tests.
Related #1097  
							
						 
						
							2024-03-10 09:20:39 -04:00  
				
					
						
							
							
								 
						
							
								15ed26887b 
								
							 
						 
						
							
							
								
								tests: tests for a few simple hidpp20 functions  
							
							
							
						 
						
							2024-03-05 15:27:07 -05:00  
				
					
						
							
							
								 
						
							
								a2bf51386a 
								
							 
						 
						
							
							
								
								tests: add yaml test for led setting  
							
							
							
						 
						
							2024-03-05 15:27:07 -05:00  
				
					
						
							
							
								 
						
							
								c3e988a03a 
								
							 
						 
						
							
							
								
								tests: simple tests for hidpp20 profiles and lighting  
							
							
							
						 
						
							2024-03-05 15:27:07 -05:00  
				
					
						
							
							
								 
						
							
								a29f2b8614 
								
							 
						 
						
							
							
								
								tests: Add hidpp10 tests  
							
							... 
							
							
							
							Related #1097  
							
						 
						
							2024-03-02 10:56:41 -05:00  
				
					
						
							
							
								 
						
							
								7774569971 
								
							 
						 
						
							
							
								
								Apply ruff format  
							
							... 
							
							
							
							Run ruff auto formatting using:
ruff format .
Related #2295  
							
						 
						
							2024-02-20 15:41:10 -05:00  
				
					
						
							
							
								 
						
							
								008d3df50b 
								
							 
						 
						
							
							
								
								tests: Add tests of common module  
							
							... 
							
							
							
							Introduces unit tests for Solaar.
Related #1097  
							
						 
						
							2024-02-18 06:10:53 -05:00  
				
					
						
							
							
								 
						
							
								3eebd4b4b0 
								
							 
						 
						
							
							
								
								tests: Introduce tests with pytest  
							
							... 
							
							
							
							Relates #1097  
							
						 
						
							2024-02-10 13:58:20 -05:00