From 95fb9c084e7eaba1e2adb11f2d0ad851ead07e57 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 25 Mar 2017 00:03:05 +0100 Subject: [PATCH] Update g410effects support --- CONTRIBUTORS.md | 2 +- src/classes/Keyboard.cpp | 2 +- src/helpers/help.cpp | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 2850a87..0c89cb7 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -26,7 +26,7 @@ * Refactor many of the code (very hard work) ## [Landrovan](https://github.com/Landrovan) : -* Improve support of G410 +* Improve support of G410 (two times) ## [larsnaesbye](https://github.com/larsnaesbye) : * Fix typo diff --git a/src/classes/Keyboard.cpp b/src/classes/Keyboard.cpp index 40505d1..03f3020 100644 --- a/src/classes/Keyboard.cpp +++ b/src/classes/Keyboard.cpp @@ -535,7 +535,7 @@ bool LedKeyboard::setNativeEffect(NativeEffect effect, NativeEffectPart part, ui uint8_t protocolByte = 0; switch (m_keyboardModel) { - case KeyboardModel::g410: // Unconfirmed + case KeyboardModel::g410: case KeyboardModel::g610: // Unconfirmed case KeyboardModel::g810: protocolByte = 0x0d; diff --git a/src/helpers/help.cpp b/src/helpers/help.cpp index 0e76c32..3c345ec 100644 --- a/src/helpers/help.cpp +++ b/src/helpers/help.cpp @@ -201,7 +201,11 @@ namespace help { cout<<" -fx vwave {target} {speed}"<