mirror of
				https://github.com/MatMoul/g810-led.git
				synced 2025-10-31 09:32:44 +00:00 
			
		
		
		
	Merge branch 'skitt-debian-fixes' into develop
This commit is contained in:
		
						commit
						b13042eb01
					
				| @ -24,6 +24,8 @@ Fedora (copr) :<br/> | |||||||
| `sudo dnf install g810-led`<br/> | `sudo dnf install g810-led`<br/> | ||||||
| Gentoo :<br/> | Gentoo :<br/> | ||||||
| `emerge app-misc/g810-led` | `emerge app-misc/g810-led` | ||||||
|  | Debian (unstable, and 10 or later), Ubuntu 19.04 or later :<br/> | ||||||
|  | `apt install g810-led` | ||||||
| 
 | 
 | ||||||
| ## Installation of dependencies :</br> | ## Installation of dependencies :</br> | ||||||
| ArchLinux :</br> | ArchLinux :</br> | ||||||
|  | |||||||
| @ -71,7 +71,7 @@ Linux led controller for Logitech G213, G410, G413, G512, G513, G610, G810, G910 | |||||||
| `g810-led -pp < profilefile # Load a profile`</br> | `g810-led -pp < profilefile # Load a profile`</br> | ||||||
| `echo -e "k w ff0000\nk a ff0000\nk s ff0000\nk d ff0000\nc" | g810-led -pp # Set multiple keys`</br> | `echo -e "k w ff0000\nk a ff0000\nk s ff0000\nk d ff0000\nc" | g810-led -pp # Set multiple keys`</br> | ||||||
| 
 | 
 | ||||||
| ## Testing unsuported keyboards :</br> | ## Testing unsupported keyboards :</br> | ||||||
| Start by retrieving the VendorID and the ProductID of your keyboard using lsusb.</br> | Start by retrieving the VendorID and the ProductID of your keyboard using lsusb.</br> | ||||||
| `lsusb`</br> | `lsusb`</br> | ||||||
| Sample return :<br> | Sample return :<br> | ||||||
|  | |||||||
| @ -99,7 +99,7 @@ namespace help { | |||||||
| 		cout<<"  -dv\t\t\t\t\tDevice vendor ID, such as 046d for Logitech. Can be omitted to match any vendor ID"<<endl; | 		cout<<"  -dv\t\t\t\t\tDevice vendor ID, such as 046d for Logitech. Can be omitted to match any vendor ID"<<endl; | ||||||
| 		cout<<"  -dp\t\t\t\t\tDevice product ID, such as c337 for Logitech G810. Can be omitted to match any product ID"<<endl; | 		cout<<"  -dp\t\t\t\t\tDevice product ID, such as c337 for Logitech G810. Can be omitted to match any product ID"<<endl; | ||||||
| 		cout<<"  -ds\t\t\t\t\tDevice serial number, Can be omitted to match the first device found"<<endl; | 		cout<<"  -ds\t\t\t\t\tDevice serial number, Can be omitted to match the first device found"<<endl; | ||||||
| 		cout<<"  -tuk\t\t\t\t\tTest unsuported keyboard with one of supported protocol (1-3) -dv and -dp are required"<<endl; | 		cout<<"  -tuk\t\t\t\t\tTest unsupported keyboard with one of supported protocol (1-3) -dv and -dp are required"<<endl; | ||||||
| 		cout<<endl; | 		cout<<endl; | ||||||
| 		cout<<"Values:"<<endl; | 		cout<<"Values:"<<endl; | ||||||
| 		if((features | KeyboardFeatures::rgb) == features) | 		if((features | KeyboardFeatures::rgb) == features) | ||||||
| @ -350,7 +350,7 @@ namespace help { | |||||||
| 			cout<<"echo -e \"k w ff0000\\nk a ff0000\\nk s ff0000\\nk d ff0000\\nc\" | g810-led -pp # Set multiple keys"<<endl; | 			cout<<"echo -e \"k w ff0000\\nk a ff0000\\nk s ff0000\\nk d ff0000\\nc\" | g810-led -pp # Set multiple keys"<<endl; | ||||||
| 			cout<<endl; | 			cout<<endl; | ||||||
| 		} | 		} | ||||||
| 		cout<<"Testing an unsuported keyboard :"<<endl; | 		cout<<"Testing an unsupported keyboard :"<<endl; | ||||||
| 		cout<<"lsusb"<<endl; | 		cout<<"lsusb"<<endl; | ||||||
| 		cout<<"#Sample result of lsusb : ID 046d:c331 Logitech, Inc. (dv=046d and dp=c331)"<<endl; | 		cout<<"#Sample result of lsusb : ID 046d:c331 Logitech, Inc. (dv=046d and dp=c331)"<<endl; | ||||||
| 		cout<<cmdName<<" -dv 046d -dp c331 -tuk 1 -a 000000"<<endl; | 		cout<<cmdName<<" -dv 046d -dp c331 -tuk 1 -a 000000"<<endl; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user