5f5c7cdcce 
								
							 
						 
						
							
							
								
								Fixes on top of refactoring  
							
							
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								ad3916e1b8 
								
							 
						 
						
							
							
								
								Fix KeyFlag conversion  
							
							
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								6903eeefcd 
								
							 
						 
						
							
							
								
								Remove NamedInts: Convert LedFormChoices to enum  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								c9d7d7234a 
								
							 
						 
						
							
							
								
								charge status: Refactor to enum and move to module of use  
							
							... 
							
							
							
							The charge status is solely used in the hiddpp20 module, thus put it
into this module.
Related #2273  
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								c34fd3c2b0 
								
							 
						 
						
							
							
								
								Remove NamedInts: Convert LedRampChoice to flag  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								b19c886426 
								
							 
						 
						
							
							
								
								Remove NamedInts: Convert HorizontalScroll to enum  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								d27f7285e0 
								
							 
						 
						
							
							
								
								Remove NamedInts: Convert MappingFlag to flag  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								5c736e9154 
								
							 
						 
						
							
							
								
								mapping flag: Move to module of use  
							
							... 
							
							
							
							The mapping flags are solely used in hiddpp20 module, thus put them into
this module.
Related #2273  
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								7c91d0b2db 
								
							 
						 
						
							
							
								
								Remove NamedInts: Convert ActionId to enum  
							
							... 
							
							
							
							This data is not in use currently.
Related #2273  
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								5ca9c0a6ba 
								
							 
						 
						
							
							
								
								Remove NamedInts: Convert Spec to enum  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								f54eeb7998 
								
							 
						 
						
							
							
								
								Remove NamedInts: Convert KeyFlag to Flag  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								267b0a723d 
								
							 
						 
						
							
							
								
								key flags: Move to module of use  
							
							... 
							
							
							
							The key flags are solely used in hiddpp20 module, thus put them into the
module.
Related #2273  
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								4c160d1723 
								
							 
						 
						
							
							
								
								Remove NamedInts: Convert Task to enum  
							
							... 
							
							
							
							Refactor code related to task and task ID.
Related #2273  
							
						 
						
							2025-01-01 10:46:04 -05:00  
				
					
						
							
							
								 
						
							
								862cef1f77 
								
							 
						 
						
							
							
								
								hidpp20_constants: Refactor Gesture into enum  
							
							... 
							
							
							
							Replace Gesture NamedInts with enum.
Related #2273  
							
						 
						
							2024-11-03 14:41:07 -05:00  
				
					
						
							
							
								 
						
							
								c90146df31 
								
							 
						 
						
							
							
								
								Refactor: hidpp20  to use enum ( #2647 )  
							
							... 
							
							
							
							* Remove duplicated Param definition
Use constants from hidpp20 constants
Related #2273 
* hidpp20/Param: Refactor to use IntEnum
Related #2273 
* hidpp20_constants: Refactor to use IntEnum
Related #2273  
							
						 
						
							2024-11-02 08:33:58 -04:00  
				
					
						
							
							
								 
						
							
								1afcfe4b57 
								
							 
						 
						
							
							
								
								refactor: use IntEnum for firmware and cidgroup constances  
							
							... 
							
							
							
							* Refactor: test_named_ints_flag_names
Shorten test and clarify behavior using binary numbers.
* Introduce plain flag_names function
This replicates the NamedInts functionality as plain function.
* Refactor FeatureFlag to use IntFlag
Replace NamedInts implementation with IntFlag enum and plain flag_names
function.
Related #2273 
* Refactor FirmwareKind to use IntEnum
- Move general FirmwareKind to common module.
- Replace NamedInts implementation with IntEnum.
- Harden related HIDPP 1.0 get_firmware test.
Related #2273 
* Refactor CID_GROUP, CID_GROUP_BIT to use IntEnum
Related #2273  
							
						 
						
							2024-10-23 16:25:35 -04:00  
				
					
						
							
							
								 
						
							
								0cd9c0c9b5 
								
							 
						 
						
							
							
								
								Refactor: Introduce Feature enum  
							
							... 
							
							
							
							Convert Feature NamedInts to SupportedFeature integer enum.
Related #2273  
							
						 
						
							2024-10-14 07:28:09 -04:00  
				
					
						
							
							
								 
						
							
								46366b2430 
								
							 
						 
						
							
							
								
								Fix warnings from automatic code inspections  
							
							... 
							
							
							
							Warnings found by automatic code inspection and partially tackled
- Drop distuitls inf favour of setuptools
- Replace deprecated pyudev.Device.from_device_number
- Remove unnecessary brackets
- Avoid access to private variables etc.
- Shadows built-in name
- Line length >120 characters
- Not a module level variable
- Simplify clause
and more 
							
						 
						
							2024-10-11 07:42:38 -04:00  
				
					
						
							
							
								 
						
							
								c07c30baef 
								
							 
						 
						
							
							
								
								device: handle error return on root feature  
							
							
							
						 
						
							2024-08-23 19:41:10 -04:00  
				
					
						
							
							
								 
						
							
								d9d67ed738 
								
							 
						 
						
							
							
								
								device: handle unknown device kinds  
							
							
							
						 
						
							2024-07-02 10:59:16 -04:00  
				
					
						
							
							
								 
						
							
								815dce07be 
								
							 
						 
						
							
							
								
								Unify imports in logitech package  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2024-05-23 16:42:18 -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  
				
					
						
							
							
								 
						
							
								469c04faaf 
								
							 
						 
						
							
							
								
								Introduce Device protocol and type hints  
							
							
							
						 
						
							2024-05-22 21:14:41 -04:00  
				
					
						
							
							
								 
						
							
								4225fce8d7 
								
							 
						 
						
							
							
								
								po: update Russion translation and have all strings translated  
							
							... 
							
							
							
							* update Russian translation
* Fixed translation display in GUI
* fix checks / Fixed translation display in GUI 
							
						 
						
							2024-04-21 11:36:39 -04:00  
				
					
						
							
							
								 
						
							
								d7ce636917 
								
							 
						 
						
							
							
								
								device: handle a different signal for onboard profiles directory in ROM  
							
							
							
						 
						
							2024-04-15 14:40:50 -04:00  
				
					
						
							
							
								 
						
							
								d6499808f9 
								
							 
						 
						
							
							
								
								device: fix bugs in onboard profiles found during testing  
							
							
							
						 
						
							2024-04-13 18:38:44 -04:00  
				
					
						
							
							
								 
						
							
								3855409605 
								
							 
						 
						
							
							
								
								device: fix bugs in hidpp20 found during 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  
				
					
						
							
							
								 
						
							
								e202e904b4 
								
							 
						 
						
							
							
								
								settings: add settings for RGB EFFECTS feature  
							
							
							
						 
						
							2024-03-24 15:44:15 -04:00  
				
					
						
							
							
								 
						
							
								c8288a6b69 
								
							 
						 
						
							
							
								
								settings: fix bug in LEDZoneSetting when effect is not implemented  
							
							
							
						 
						
							2024-03-24 15:44:15 -04:00  
				
					
						
							
							
								 
						
							
								c81809bd39 
								
							 
						 
						
							
							
								
								device: add RGB EFFECTS feature version of LED COLOR EFFECTS data  
							
							
							
						 
						
							2024-03-24 15:44:15 -04:00  
				
					
						
							
							
								 
						
							
								4fd75a64ff 
								
							 
						 
						
							
							
								
								settings: fix small bugs found from testing  
							
							
							
						 
						
							2024-03-24 07:02:39 -04:00  
				
					
						
							
							
								 
						
							
								47ba1402ed 
								
							 
						 
						
							
							
								
								device: use feature_request from the device everywhere in hidpp20  
							
							
							
						 
						
							2024-03-23 10:11:30 -04:00  
				
					
						
							
							
								 
						
							
								6164317a64 
								
							 
						 
						
							
							
								
								tests: improve hidpp20 coverage  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								dfd3d10c2e 
								
							 
						 
						
							
							
								
								device: optimize some functions in FeaturesArray  
							
							
							
						 
						
							2024-03-12 12:21:17 -04:00  
				
					
						
							
							
								 
						
							
								0b599194d1 
								
							 
						 
						
							
							
								
								device: fix bug in creating features array  
							
							
							
						 
						
							2024-03-11 15:20:39 -04:00  
				
					
						
							
							
								 
						
							
								24223e77c7 
								
							 
						 
						
							
							
								
								device: fix bug in getting friendly name  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								64d8cad81a 
								
							 
						 
						
							
							
								
								device: change status battery fields to Battery objects  
							
							
							
						 
						
							2024-03-09 10:36:40 -05:00  
				
					
						
							
							
								 
						
							
								fb9dbb9c39 
								
							 
						 
						
							
							
								
								update: Replace legacy logger.warn with logger.warning  
							
							... 
							
							
							
							Related #1097  
							
						 
						
							2024-03-02 10:56:41 -05:00  
				
					
						
							
							
								 
						
							
								9c76a6c5ba 
								
							 
						 
						
							
							
								
								refactor: Introduce Hidpp20 class  
							
							... 
							
							
							
							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  
				
					
						
							
							
								 
						
							
								646ef2f596 
								
							 
						 
						
							
							
								
								device: move battery constants common to HID++ 1.0 and 2.0 to common  
							
							
							
						 
						
							2024-02-22 09:57:02 -05:00  
				
					
						
							
							
								 
						
							
								24ae9bacaa 
								
							 
						 
						
							
							
								
								device: move mapping of device kind into hidpp20  
							
							
							
						 
						
							2024-02-22 09:57:02 -05:00