From 612ebf61b114fb5f1a82dbfc01cbadfdfac643c2 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sun, 7 May 2017 02:04:35 +0200 Subject: [PATCH] Update INSTALL.md --- INSTALL.md | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 85cc50b..ceb841d 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -35,17 +35,15 @@ Fedora :
## Installation :
`git clone https://github.com/MatMoul/g810-led.git`
`cd g810-led`
-`make` # for hidapi
-`make LIB=libusb` # for libusb
+`make bin` # for hidapi
+`make bin LIB=libusb` # for libusb
`sudo make install`
-`make install-lib` to install the libg810-led library.
-`make install-dev` to install the libg810-led library and headers for development.
-## Building the library :
-The library is built by default when running the `make` (default target "all").
- -To specifically build the library as a standalone component:
-`make lib`
+## Installation of the library (For developpers) :
+`make lib` # for hidapi
+`make lib LIB=libusb` # for libusb
+`sudo make install-lib` to install the libg810-led library.
+`sudo make install-dev` to install the libg810-led library and headers for development.
## Update :
Same as install, but your profile and reboot files are preserved.
@@ -54,10 +52,9 @@ Same as install, but your profile and reboot files are preserved.
`sudo make uninstall`
## Boot profiles :
-If your system use systemd, g810-led has 2 systemd units (g810-led and g810-led-reboot).
-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 +On boot, the keyboard is set with the udev file /etc/udev/rules.d/g810-led.rules
+This file launch the profile stored in /etc/g810-led/profile
+To prevent your keyboard to flash 3 time when you reboot, a systemd unit (g810-led-reboot) is available for this.
+It launch the profile stored in /etc/g810-led/reboot
Samples can be found in /etc/g810-led/samples.