37e2ac80ba 
								
							 
						 
						
							
							
								
								base: Add test for filter_products_of_interest  
							
							
							
						 
						
							2024-10-11 07:42:38 -04:00  
				
					
						
							
							
								 
						
							
								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