From a136c0cc2784a7863561ad113fbeb1b2d47deff6 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 21 Jan 2017 23:00:07 +0100 Subject: [PATCH] Update INSTALL.md --- INSTALL.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index b637ad4..4aaff48 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -16,19 +16,20 @@ hidapi is recommended but if you encounter problem on your system, switch to lib ## Installation of dependencies :
ArchLinux :
-`sudo pacman -S git gcc make hidapi` (for hidapi)
-`sudo pacman -S git gcc make libusb` (for libusb)
+`sudo pacman -S git gcc make hidapi` # for hidapi
+`sudo pacman -S git gcc make libusb` # for libusb
Debian :
-`sudo apt-get install git g++ make libhidapi-dev` (for hidapi)
-`sudo apt-get install git g++ make libusb-1.0-0-dev` (for libusb)
+`sudo apt-get install git g++ make libhidapi-dev` # for hidapi
+`sudo apt-get install git g++ make libusb-1.0-0-dev` # for libusb
Fedora :
-`sudo dnf install git make gcc-c++ hidapi-devel` (for hidapi)
-`sudo dnf install git make gcc-c++ libusbx-devel` (for libusb)
+`sudo dnf install git make gcc-c++ hidapi-devel` # for hidapi
+`sudo dnf install git make gcc-c++ libusbx-devel` # for libusb
## Installation :
`git clone https://github.com/MatMoul/g810-led.git`
`cd g810-led`
-`make` or `make LIB=libusb`
+`make` # for hidapi
+`make LIB=libusb` # for libusb
`sudo make install`
## Update :
@@ -43,3 +44,5 @@ These 2 units set the keyboard profile on boot and reboot.
Profiles are stored in /etc/g810-led :
* /etc/g810-led/profile * /etc/g810-led/reboot + +Samples can be found in /etc/g810-led/samples.