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  
				
					
						
							
							
								 
						
							
								480badbe8c 
								
							 
						 
						
							
							
								
								device: align init methods for all receiver classes  
							
							
							
						 
						
							2024-03-16 16:24:33 -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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								b957217ea8 
								
							 
						 
						
							
							
								
								receiver: delay device sending first messages  
							
							
							
						 
						
							2024-03-13 08:34:28 -04:00  
				
					
						
							
							
								 
						
							
								9c5ba6445e 
								
							 
						 
						
							
							
								
								device: remove status from Device and Receiver  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								a1418cd834 
								
							 
						 
						
							
							
								
								device: move changed method from status to Device and Receiver  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								0805ecb511 
								
							 
						 
						
							
							
								
								device: move status string function to Device and Receiver  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								87285faf7f 
								
							 
						 
						
							
							
								
								receiver: move pairing status to new dataclass attached to receiver  
							
							
							
						 
						
							2024-03-11 08:23:27 -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  
				
					
						
							
							
								 
						
							
								3916c189be 
								
							 
						 
						
							
							
								
								receiver: move more method code to subclasses  
							
							
							
						 
						
							2024-03-08 15:39:12 -05:00  
				
					
						
							
							
								 
						
							
								4eb5a83326 
								
							 
						 
						
							
							
								
								receiver: create subclasses of receiver for different variants  
							
							... 
							
							
							
							Related #2350  
							
						 
						
							2024-03-08 15:39:12 -05:00  
				
					
						
							
							
								 
						
							
								c3b6802373 
								
							 
						 
						
							
							
								
								refactor: Get receiver product info before instantiation  
							
							... 
							
							
							
							Related #2350  
							
						 
						
							2024-03-03 10:38:46 -05:00  
				
					
						
							
							
								 
						
							
								51e44052b0 
								
							 
						 
						
							
							
								
								Refactor: Move Receiver instantiation to factory class  
							
							... 
							
							
							
							Related #2350  
							
						 
						
							2024-03-03 09:32:42 -05:00  
				
					
						
							
							
								 
						
							
								a29f2b8614 
								
							 
						 
						
							
							
								
								tests: Add hidpp10 tests  
							
							... 
							
							
							
							Related #1097  
							
						 
						
							2024-03-02 10:56:41 -05:00  
				
					
						
							
							
								 
						
							
								ce2de71b1b 
								
							 
						 
						
							
							
								
								device: clean up device and receiver code  
							
							
							
						 
						
							2024-02-22 09:57:02 -05:00  
				
					
						
							
							
								 
						
							
								4b33c119f6 
								
							 
						 
						
							
							
								
								device: move pairing information gathering to receiver  
							
							
							
						 
						
							2024-02-22 09:57:02 -05:00  
				
					
						
							
							
								 
						
							
								7774569971 
								
							 
						 
						
							
							
								
								Apply ruff format  
							
							... 
							
							
							
							Run ruff auto formatting using:
ruff format .
Related #2295  
							
						 
						
							2024-02-20 15:41:10 -05:00  
				
					
						
							
							
								 
						
							
								ed248c62b9 
								
							 
						 
						
							
							
								
								device: add callback to call when changing a setting  
							
							
							
						 
						
							2024-02-20 06:19:23 -05:00  
				
					
						
							
							
								 
						
							
								2fcab65486 
								
							 
						 
						
							
							
								
								logitech_receiver: Move hidpp10 constants into new module  
							
							... 
							
							
							
							Related #1097  
							
						 
						
							2024-02-20 05:58:33 -05:00  
				
					
						
							
							
								 
						
							
								e8fdbeee8e 
								
							 
						 
						
							
							
								
								logitech_receiver: Move exceptions into own module  
							
							... 
							
							
							
							Related #1097  
							
						 
						
							2024-02-20 05:58:33 -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  
				
					
						
							
							
								 
						
							
								db4e40e3ac 
								
							 
						 
						
							
							
								
								device: add extended report rate setting  
							
							
							
						 
						
							2024-02-01 10:13:03 -05:00  
				
					
						
							
							
								 
						
							
								d9e5e33947 
								
							 
						 
						
							
							
								
								device: correctly enumerate devices on receiver  
							
							
							
						 
						
							2023-11-23 11:18:08 -05:00  
				
					
						
							
							
								 
						
							
								d41c607188 
								
							 
						 
						
							
							
								
								receiver: fix bug in determining kind of devices for 27Mz receivers  
							
							
							
						 
						
							2023-02-11 12:28:01 -05:00  
				
					
						
							
							
								 
						
							
								6b9c8cffef 
								
							 
						 
						
							
							
								
								receiver: count found devices when enumerating them and cut off when all found  
							
							
							
						 
						
							2023-01-09 05:20:16 -05:00  
				
					
						
							
							
								 
						
							
								e301551dde 
								
							 
						 
						
							
							
								
								receiver: clean up receiver creation  
							
							
							
						 
						
							2022-12-17 13:21:27 -05:00  
				
					
						
							
							
								 
						
							
								2462d1aad7 
								
							 
						 
						
							
							
								
								receiver: allow for unknown receivers  
							
							
							
						 
						
							2022-10-13 16:14:30 -04:00  
				
					
						
							
							
								 
						
							
								51ec36fef4 
								
							 
						 
						
							
							
								
								receiver: rationalize receiver information structure  
							
							
							
						 
						
							2022-10-13 16:14:30 -04:00  
				
					
						
							
							
								 
						
							
								a1aa584b7e 
								
							 
						 
						
							
							
								
								receiver: use only product records to determine whether receivers can unpair  
							
							
							
						 
						
							2022-09-15 10:30:54 -04:00  
				
					
						
							
							
								 
						
							
								ca13e06519 
								
							 
						 
						
							
							
								
								device: get extended pairing information early and allow for unknown WPID  
							
							
							
						 
						
							2022-08-20 20:12:48 -04:00  
				
					
						
							
							
								 
						
							
								2fbaa4a3aa 
								
							 
						 
						
							
							
								
								receiver: return null values if no pairing information available  
							
							
							
						 
						
							2022-08-20 20:12:48 -04:00  
				
					
						
							
							
								 
						
							
								4059b377b4 
								
							 
						 
						
							
							
								
								receiver: use last_id as maximum device number not max_devices  
							
							
							
						 
						
							2022-08-20 20:12:48 -04:00  
				
					
						
							
							
								 
						
							
								cc0ddb8df5 
								
							 
						 
						
							
							
								
								receiver: only close existing devices for receiver  
							
							
							
						 
						
							2022-06-21 18:39:37 -04:00  
				
					
						
							
							
								 
						
							
								1b4a631597 
								
							 
						 
						
							
							
								
								receiver: close device handles when receiver is removed  
							
							
							
						 
						
							2022-05-28 09:58:05 -04:00  
				
					
						
							
							
								 
						
							
								bb20631a27 
								
							 
						 
						
							
							
								
								misc: remove support for Python 2 unicode  
							
							
							
						 
						
							2022-04-11 13:20:42 -04:00  
				
					
						
							
							
								 
						
							
								3e6c92de70 
								
							 
						 
						
							
							
								
								docs: update for PERSISTENT_REMAPPABLE_ACTION and class-based settings  
							
							
							
						 
						
							2022-03-12 12:20:38 -05:00  
				
					
						
							
							
								 
						
							
								12ecef004e 
								
							 
						 
						
							
							
								
								receiver: gather and show PERSISTENT_REMAPPABLE_ACTION information  
							
							
							
						 
						
							2022-03-12 12:20:38 -05:00  
				
					
						
							
							
								 
						
							
								5acc216e12 
								
							 
						 
						
							
							
								
								receiver: use Bolt unique ID as serial number  
							
							
							
						 
						
							2021-11-11 10:48:12 -05:00  
				
					
						
							
							
								 
						
							
								c32a6ca91c 
								
							 
						 
						
							
							
								
								receiver: get device codename from Bolt receiver registers  
							
							
							
						 
						
							2021-11-11 10:48:12 -05:00  
				
					
						
							
							
								 
						
							
								603fbe96e0 
								
							 
						 
						
							
							
								
								ui: add pairing for Bolt receivers  
							
							
							
						 
						
							2021-11-11 10:48:12 -05:00  
				
					
						
							
							
								 
						
							
								885cefb5b6 
								
							 
						 
						
							
							
								
								cli: add pairing for Bolt receivers  
							
							
							
						 
						
							2021-11-11 10:48:12 -05:00  
				
					
						
							
							
								 
						
							
								886df1daaf 
								
							 
						 
						
							
							
								
								receiver: add support for Bolt receiver (no pairing yet)  
							
							
							
						 
						
							2021-11-11 10:48:12 -05:00  
				
					
						
							
							
								 
						
							
								2c3578a776 
								
							 
						 
						
							
							
								
								receiver: move receiver pairing information code from device class to receiver class  
							
							
							
						 
						
							2021-11-11 10:48:12 -05:00  
				
					
						
							
							
								 
						
							
								a96caea5e4 
								
							 
						 
						
							
							
								
								receiver: move receiver codename code from device class to receiver class  
							
							
							
						 
						
							2021-11-11 10:48:12 -05:00  
				
					
						
							
							
								 
						
							
								df83fd655c 
								
							 
						 
						
							
							
								
								Stop declaring `object` as superclass  
							
							... 
							
							
							
							This syntax was only required on Python 2 and has no effect on Python 3. 
							
						 
						
							2021-10-30 16:49:41 -04:00  
				
					
						
							
							
								 
						
							
								22bf4fafff 
								
							 
						 
						
							
							
								
								Drop unnecessary __future__ imports  
							
							... 
							
							
							
							These are all active by default on all recent Python versions. 
							
						 
						
							2021-10-30 16:49:41 -04:00  
				
					
						
							
							
								 
						
							
								b96d16672b 
								
							 
						 
						
							
							
								
								Drop obsolete encoding declaration  
							
							... 
							
							
							
							This was only parsed in Python 2.
Python 3 only supports UTF-8 for source files, and that's what it uses. 
							
						 
						
							2021-10-30 16:49:41 -04:00  
				
					
						
							
							
								 
						
							
								8c5800e536 
								
							 
						 
						
							
							
								
								receiver: use symbolic identifiers for sub-registers  
							
							
							
						 
						
							2021-04-09 07:46:10 -04:00