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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								d75b6d2f2b 
								
							 
						 
						
							
							
								
								Fix some bugs in udev.get_indexed_string.  
							
							... 
							
							
							
							* from_device_number raises an exception if no device found, rather than
returning None. So, instead of checking the result, catch the exception.
* Use Attributes.get() method instead of checking containment and using the
index operator. This is really the only correct way, see rhbz#1267584.
Effect of the changes:
Previously, if no device was found this method would raise an exception.
Now it returns None instead.
Previously this method read the value of the attribute corresponding to key
twice, once via 'key in attributes' and again when accessing the key.
Now, it just reads it the one time.
Reason for noticing all these problems:
In pyudev-0.18 the Attributes class is fixed, and no longer has the []
operator or __contains__ method or other methods which require a total
mapping. This patch fixes several bugs while simultaneously avoiding these
removed operators.
Signed-off-by: mulhern <amulhern@redhat.com> 
							
						 
						
							2015-12-23 09:22:48 -05:00  
				
					
						
							
							
								 
						
							
								15cb97c56e 
								
							 
						 
						
							
							
								
								udev devices may not have all the attributes;  fixes   #93  
							
							
							
						 
						
							2013-07-19 11:46:50 +02:00  
				
					
						
							
							
								 
						
							
								a8c5d3bc24 
								
							 
						 
						
							
							
								
								Nano receivers were unsupported on kernel 3.2;  fixes   #88  
							
							
							
						 
						
							2013-07-18 14:01:36 +02:00  
				
					
						
							
							
								 
						
							
								38c76393b1 
								
							 
						 
						
							
							
								
								added copyright notices to all source files  
							
							
							
						 
						
							2013-07-15 17:54:42 +02:00  
				
					
						
							
							
								 
						
							
								dbb9025e26 
								
							 
						 
						
							
							
								
								replaced _ dummies with _ignore  
							
							
							
						 
						
							2013-07-08 21:21:14 +02:00  
				
					
						
							
							
								 
						
							
								d5374b9f51 
								
							 
						 
						
							
							
								
								optionally listen for upower suspend/resume events to stop/start all receiver listeners  
							
							
							
						 
						
							2013-06-23 18:11:42 +02:00  
				
					
						
							
							
								 
						
							
								150c43f41f 
								
							 
						 
						
							
							
								
								some logging in udev  
							
							
							
						 
						
							2013-06-19 16:49:20 +02:00  
				
					
						
							
							
								 
						
							
								2a6662472d 
								
							 
						 
						
							
							
								
								account for all GLib.id_add_watch variants  
							
							
							
						 
						
							2013-06-08 21:07:24 +02:00  
				
					
						
							
							
								 
						
							
								f324b97e8b 
								
							 
						 
						
							
							
								
								use GLib.io_add_watch_full when available  
							
							
							
						 
						
							2013-06-08 15:02:44 +02:00  
				
					
						
							
							
								 
						
							
								46544e1cbe 
								
							 
						 
						
							
							
								
								listen for udev events on the GLib main loop  
							
							
							
						 
						
							2013-06-07 14:39:04 +02:00  
				
					
						
							
							
								 
						
							
								790fc7c04b 
								
							 
						 
						
							
							
								
								improved support for the Nano receiver  
							
							
							
						 
						
							2013-05-22 07:31:16 +03:00  
				
					
						
							
							
								 
						
							
								d7dd9393ff 
								
							 
						 
						
							
							
								
								minor clean-ups  
							
							
							
						 
						
							2013-05-04 17:19:48 +02:00  
				
					
						
							
							
								 
						
							
								ad577d22d0 
								
							 
						 
						
							
							
								
								handle sleep in udev monitoring,  fixes   #35  
							
							
							
						 
						
							2013-05-04 12:19:29 +02:00  
				
					
						
							
							
								 
						
							
								abca81ea38 
								
							 
						 
						
							
							
								
								fix device _match-ing in enumerate()  
							
							
							
						 
						
							2013-05-03 16:35:54 +02:00  
				
					
						
							
							
								 
						
							
								a0a76f738b 
								
							 
						 
						
							
							
								
								assert that data read/written on the receiver handle is of type bytes  
							
							
							
						 
						
							2013-05-03 16:35:28 +02:00  
				
					
						
							
							
								 
						
							
								7d440c2430 
								
							 
						 
						
							
							
								
								replace thrown OSError with IOError  
							
							
							
						 
						
							2013-05-03 16:25:32 +02:00  
				
					
						
							
							
								 
						
							
								0f80901bce 
								
							 
						 
						
							
							
								
								quicker detection of matching receivers in udev  
							
							
							
						 
						
							2013-05-02 11:11:53 +02:00  
				
					
						
							
							
								 
						
							
								c829304e31 
								
							 
						 
						
							
							
								
								use only udev events to detect receiver devices  
							
							
							
						 
						
							2013-05-01 15:47:23 +02:00  
				
					
						
							
							
								 
						
							
								f5d2eba0c4 
								
							 
						 
						
							
							
								
								hidapi: dropped native, slight update to the python implementation  
							
							... 
							
							
							
							added an optional filter for driver name when enumerating devices 
							
						 
						
							2013-04-28 14:05:33 +02:00  
				
					
						
							
							
								 
						
							
								36f34da227 
								
							 
						 
						
							
							
								
								proper debian packaging, dropper stdeb  
							
							
							
						 
						
							2013-01-05 11:48:35 +02:00  
				
					
						
							
							
								 
						
							
								064a7a113c 
								
							 
						 
						
							
							
								
								added setup.py for python and debian packaging  
							
							
							
						 
						
							2012-12-18 05:03:43 +02:00