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  
				
					
						
							
							
								 
						
							
								574a95da50 
								
							 
						 
						
							
							
								
								cleanup: Remove unnecessary calls of del  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2024-03-02 10:48:06 -05:00  
				
					
						
							
							
								 
						
							
								7ef3059b69 
								
							 
						 
						
							
							
								
								clean up: Remove editor specific marks  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2024-02-29 10:10:46 -05:00  
				
					
						
							
							
								 
						
							
								069f96fe48 
								
							 
						 
						
							
							
								
								hidapi: make hid_parser optional, but add it to setup  
							
							
							
						 
						
							2024-02-23 13:30:52 -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  
				
					
						
							
							
								 
						
							
								50ddb54466 
								
							 
						 
						
							
							
								
								hidapi: upgrade debugging in udev  
							
							
							
						 
						
							2024-02-19 09:16:56 -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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								05ec439ec0 
								
							 
						 
						
							
							
								
								udev: report hidraw node in debugging messages  
							
							
							
						 
						
							2024-01-20 11:23:01 -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  
				
					
						
							
							
								 
						
							
								485596cbf3 
								
							 
						 
						
							
							
								
								tools: permit BT devices for hidconsole with hidpp  
							
							
							
						 
						
							2023-09-17 10:39:48 -04:00  
				
					
						
							
							
								 
						
							
								253930d628 
								
							 
						 
						
							
							
								
								tools: fix bug in scan-registers  
							
							
							
						 
						
							2023-09-16 10:35:26 -04:00  
				
					
						
							
							
								 
						
							
								8dd8c8b76f 
								
							 
						 
						
							
							
								
								tools: allow device 0 in hidconsole  
							
							
							
						 
						
							2023-08-12 14:51:31 -04:00  
				
					
						
							
							
								 
						
							
								c86d4be0fe 
								
							 
						 
						
							
							
								
								hidapi: retry open several times with short wait to allow for delay in setting up permissions  
							
							
							
						 
						
							2023-06-29 14:13:57 -04:00  
				
					
						
							
							
								 
						
							
								fd9653fa33 
								
							 
						 
						
							
							
								
								tools: update scan-registers.sh to fix a bug and scan pairing registers  
							
							
							
						 
						
							2023-05-19 07:14:10 -04: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  
				
					
						
							
							
								 
						
							
								0c7a9dd0a7 
								
							 
						 
						
							
							
								
								misc: update isort to current version  
							
							... 
							
							
							
							* Update .pre-commit-config.yaml
* Update solaar
* Update udev.py
* Update __init__.py
* Update gtk.py
* Update i18n.py
* Update listener.py
* Update icons.py
* Update notify.py
* Update hidconsole
* Update gtk.py
* Update icons.py
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com> 
							
						 
						
							2022-11-26 13:58:46 -05:00  
				
					
						
							
							
								 
						
							
								925172d030 
								
							 
						 
						
							
							
								
								hidapi: be more permissive when recognizing HID++ report descriptors  
							
							
							
						 
						
							2022-10-27 11:11:19 -04:00  
				
					
						
							
							
								 
						
							
								8d0795af53 
								
							 
						 
						
							
							
								
								solaar: make hid-parser an optional dependency  
							
							
							
						 
						
							2022-10-25 10:51:23 -04:00  
				
					
						
							
							
								 
						
							
								d1572b0c02 
								
							 
						 
						
							
							
								
								hidapi: rationalize DeviceInfo structure  
							
							
							
						 
						
							2022-10-13 16:14:30 -04:00  
				
					
						
							
							
								 
						
							
								3e90c3bc8a 
								
							 
						 
						
							
							
								
								hidapi: process hid report descriptors to identify devices  
							
							
							
						 
						
							2022-10-13 16:14:30 -04:00  
				
					
						
							
							
								 
						
							
								bb20631a27 
								
							 
						 
						
							
							
								
								misc: remove support for Python 2 unicode  
							
							
							
						 
						
							2022-04-11 13:20:42 -04:00  
				
					
						
							
							
								 
						
							
								d6ba8e0b29 
								
							 
						 
						
							
							
								
								Stop using aliased Exception  
							
							... 
							
							
							
							IOError is now OSError. The old name is merely a legacy compatibility
alias. 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
								4e76c99e0f 
								
							 
						 
						
							
							
								
								hid: add debug message when potential device found  
							
							
							
						 
						
							2021-08-18 09:40:23 -04:00  
				
					
						
							
							
								 
						
							
								3cd76aa191 
								
							 
						 
						
							
							
								
								tools: fix up call to udev matching in hidconsole  
							
							
							
						 
						
							2021-03-02 19:02:08 -05:00  
				
					
						
							
							
								 
						
							
								b19006104f 
								
							 
						 
						
							
							
								
								device: support unknown USB-connected and Bluetooth devices  
							
							
							
						 
						
							2020-10-12 08:05:13 -04:00  
				
					
						
							
							
								 
						
							
								dba9d472a8 
								
							 
						 
						
							
							
								
								hidapi: fix bug in processing of serial numbers  
							
							
							
						 
						
							2020-10-07 15:18:28 -04:00  
				
					
						
							
							
								 
						
							
								ec8a51d353 
								
							 
						 
						
							
							
								
								udev: get manufacturer and product from HID_ID  
							
							
							
						 
						
							2020-09-29 11:26:34 -04:00  
				
					
						
							
							
								 
						
							
								58823763ea 
								
							 
						 
						
							
							
								
								ui: handle wired devices  
							
							
							
						 
						
							2020-09-23 18:03:47 -04:00  
				
					
						
							
							
								 
						
							
								7a82b93aaf 
								
							 
						 
						
							
							
								
								udev: add function to get wpid from udev  
							
							... 
							
							
							
							base: make workaround flag name more generic
descriptors: fix wpid's for 27Mhz devices
device: Improve wpid and kind processing for 27Mhz devices
notifications: Improve wpid generation for 27Mhz devices
docs: fix wpid's for EX100 
							
						 
						
							2020-09-07 11:43:25 -04:00  
				
					
						
							
							
								 
						
							
								246c6cc1b2 
								
							 
						 
						
							
							
								
								udev: add a timeout to find_paired_node because the device might not be instantly ready (e.g. after pairing)  
							
							
							
						 
						
							2020-08-25 06:47:07 -04:00  
				
					
						
							
							
								 
						
							
								2d29db4609 
								
							 
						 
						
							
							
								
								udev: simplify find_paired_node  
							
							
							
						 
						
							2020-08-25 06:47:07 -04:00  
				
					
						
							
							
								 
						
							
								fe55e39560 
								
							 
						 
						
							
							
								
								udev: use HID_PHYS instead of HID_UNIQ to look for relevant child nodes  
							
							
							
						 
						
							2020-08-25 06:47:07 -04:00  
				
					
						
							
							
								 
						
							
								204bc6e810 
								
							 
						 
						
							
							
								
								hidapi: fix infinite loop on some write errors  
							
							
							
						 
						
							2020-07-20 20:37:15 +01:00  
				
					
						
							
							
								 
						
							
								27c90fa736 
								
							 
						 
						
							
							
								
								yapf: adjust style to not indent closing brackets  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								8e89aa0038 
								
							 
						 
						
							
							
								
								yapf: set max line lenght to 127  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								627185079f 
								
							 
						 
						
							
							
								
								flake8: initial fix  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								33521558ed 
								
							 
						 
						
							
							
								
								pre-commit: initial fix  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								e6369e0c3c 
								
							 
						 
						
							
							
								
								isort: intial import fix  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								72a8d311bc 
								
							 
						 
						
							
							
								
								yapf: change code style to yapf  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								1ab03d4c9f 
								
							 
						 
						
							
							
								
								receiver: add check for bad results from getting the usb device  
							
							
							
						 
						
							2020-02-16 22:16:37 +00:00  
				
					
						
							
							
								 
						
							
								907c5ab075 
								
							 
						 
						
							
							
								
								receiver: change usb identification of receivers to dictionary to allow adding other fields, add receiver name to dictionary  
							
							
							
						 
						
							2020-02-16 22:16:37 +00:00  
				
					
						
							
							
								 
						
							
								ae9e862f19 
								
							 
						 
						
							
							
								
								Fix typos in comments  
							
							
							
						 
						
							2019-10-20 23:53:45 +01:00  
				
					
						
							
							
								 
						
							
								6376980213 
								
							 
						 
						
							
							
								
								udev: fix c52b + MX Master  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2019-07-26 17:50:13 +02:00  
				
					
						
							
							
								 
						
							
								6b14004a6f 
								
							 
						 
						
							
							
								
								udev: fix writting to the device  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2019-07-26 15:10:59 +01:00  
				
					
						
							
							
								 
						
							
								155e2f8c40 
								
							 
						 
						
							
							
								
								fix :  #531   #537 . Better handling of EPIPE during hid write.  
							
							
							
						 
						
							2019-07-26 15:35:21 +02:00