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

Fix spelling mistakes and grammar in README and INSTALL

This commit is contained in:
GREAT_BIG_BUSHY_BEARD 2017-10-25 23:37:43 +01:00
parent f820ef62df
commit 7961599cec
2 changed files with 8 additions and 9 deletions

View File

@ -11,11 +11,11 @@
## hidapi vs libusb :</br> ## hidapi vs libusb :</br>
hidapi is a newer implementation but needs more testing.</br> hidapi is a newer implementation but needs more testing.</br>
hidapi is more responsive than libusb (~20ms vs ~150ms).</br> hidapi is more responsive than libusb (~20ms vs ~150ms).</br>
hidapi seem not work on CentOS, writing on hidraw is not allowed.</br> hidapi seems to not work on CentOS, writing to hidraw is not allowed.</br>
hidapi is recommended but if you encounter problem on your system, switch to libusb.</br> hidapi is recommended but if you encounter a problem on your system, switch to libusb.</br>
## Installation by repos :</br> ## Installation using repos :</br>
ArchLinux (aur) :</br> ArchLinux (aur) :</br>
`yaourt -S g810-led-git` # with yaourt</br> `yaourt -S g810-led-git` # with yaourt</br>
`pacaur -S g810-led-git` # with pacaur</br> `pacaur -S g810-led-git` # with pacaur</br>
@ -39,7 +39,7 @@ Fedora :</br>
`make bin LIB=libusb` # for libusb</br> `make bin LIB=libusb` # for libusb</br>
`sudo make install`</br> `sudo make install`</br>
## Installation of the library (For developpers) :</br> ## Installation of the library (For developers) :</br>
`make lib` # for hidapi</br> `make lib` # for hidapi</br>
`make lib LIB=libusb` # for libusb</br> `make lib LIB=libusb` # for libusb</br>
`sudo make install-lib` to install the libg810-led library.</br> `sudo make install-lib` to install the libg810-led library.</br>
@ -53,8 +53,7 @@ Same as install, but your profile and reboot files are preserved.</br>
## Boot profiles :</br> ## Boot profiles :</br>
On boot, the keyboard is set with the udev file /etc/udev/rules.d/g810-led.rules</br> On boot, the keyboard is set with the udev file /etc/udev/rules.d/g810-led.rules</br>
This file launch the profile stored in /etc/g810-led/profile</br> This file launches the profile stored in /etc/g810-led/profile</br>
To prevent your keyboard to flash 3 time when you reboot, a systemd unit (g810-led-reboot) is available for this.</br> To prevent your keyboard flashing 3 times when you reboot use the systemd unit (g810-led-reboot).</br>
It launch the profile stored in /etc/g810-led/reboot</br>
Samples can be found in /etc/g810-led/samples.</br> Samples can be found in /etc/g810-led/samples.</br>

View File

@ -1,6 +1,6 @@
# g810-led</br> # g810-led</br>
Linux led controller for Logitech G213, G410, g413, G610, G810, G910 and GPRO Keyboards.</br> Linux led controller for Logitech G213, G410, G413, G610, G810, G910 and GPRO Keyboards.</br>
## Compatible keyboards :</br> ## Compatible keyboards :</br>
- **G213 Prodigy**</br> - **G213 Prodigy**</br>
@ -68,7 +68,7 @@ Linux led controller for Logitech G213, G410, g413, G610, G810, G910 and GPRO Ke
`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 unsuported keyboards :</br>
Start by retrieve the VendorID and the ProductID of your keyboard with 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>
`Bus 001 Device 001: ID 046d:c331 Logitech, Inc.`</br> `Bus 001 Device 001: ID 046d:c331 Logitech, Inc.`</br>