From c5408032662114b7ed74ffc7a08c41d8e2ac4e98 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Fri, 12 May 2017 21:29:12 +0200 Subject: [PATCH] Make gpro ready for release --- README.md | 5 +++-- makefile | 2 ++ udev/g810-led.rules | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 187e7db..3a75db5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # g810-led
-Linux led controller for Logitech G213, G410, G610, G810, G910 and G PRO Keyboards.
+Linux led controller for Logitech G213, G410, G610, G810, G910 and GPRO Keyboards.
## Compatible keyboards :
- **G213 Prodigy**
@@ -10,7 +10,7 @@ Linux led controller for Logitech G213, G410, G610, G810, G910 and G PRO Keyboar - **G810 Orion Spectrum**
- **G910 Orion Spark**
- **G910 Orion Spectrum**
-- **G PRO**
+- **GPRO**
## Contribute and evolution :
* [CONTRIBUTING.md](https://github.com/MatMoul/g810-led/blob/master/CONTRIBUTING.md) @@ -24,6 +24,7 @@ Linux led controller for Logitech G213, G410, G610, G810, G910 and G PRO Keyboar `g610-led --help`
`g810-led --help`
`g910-led --help`
+`gpro-led --help`
`g810-led --help-keys`
`g810-led --help-effects`
diff --git a/makefile b/makefile index c9d9547..f783b27 100644 --- a/makefile +++ b/makefile @@ -62,6 +62,7 @@ setup: @test -s $(DESTDIR)/usr/bin/g410-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g410-led @test -s $(DESTDIR)/usr/bin/g610-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g610-led @test -s $(DESTDIR)/usr/bin/g910-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/g910-led + @test -s $(DESTDIR)/usr/bin/g910-led || ln -s /usr/bin/$(PROGN) $(DESTDIR)/usr/bin/gpro-led @cp sample_profiles/* $(DESTDIR)/etc/$(PROGN)/samples @cp udev/$(PROGN).rules $(DESTDIR)/etc/udev/rules.d @test -s /usr/bin/systemd-run && \ @@ -107,6 +108,7 @@ uninstall: @rm /usr/bin/g410-led @rm /usr/bin/g610-led @rm /usr/bin/g910-led + @rm /usr/bin/gpro-led @rm /usr/bin/$(PROGN) @rm /etc/udev/rules.d/$(PROGN).rules diff --git a/udev/g810-led.rules b/udev/g810-led.rules index fa3c75a..74abe19 100644 --- a/udev/g810-led.rules +++ b/udev/g810-led.rules @@ -6,4 +6,4 @@ ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c3 ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c337", MODE="666" RUN+="/usr/bin/g810-led -p /etc/g810-led/profile" ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c32b", MODE="666" RUN+="/usr/bin/g910-led -p /etc/g810-led/profile" ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c335", MODE="666" RUN+="/usr/bin/g910-led -p /etc/g810-led/profile" -ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c339", MODE="666" RUN+="/usr/bin/g810-led -p /etc/g810-led/profile" +ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c339", MODE="666" RUN+="/usr/bin/g810-led -p /etc/gpro-led/profile"