1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 09:16:11 +00:00

Merge branch 'skitt-debian-fixes' into develop

This commit is contained in:
MatMoul 2019-01-18 23:14:44 +01:00
commit b13042eb01
3 changed files with 5 additions and 3 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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;