mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 01:06:11 +00:00
Update g410effects support
This commit is contained in:
parent
a1d4c81471
commit
95fb9c084e
@ -26,7 +26,7 @@
|
|||||||
* Refactor many of the code (very hard work)
|
* Refactor many of the code (very hard work)
|
||||||
|
|
||||||
## [Landrovan](https://github.com/Landrovan) :
|
## [Landrovan](https://github.com/Landrovan) :
|
||||||
* Improve support of G410
|
* Improve support of G410 (two times)
|
||||||
|
|
||||||
## [larsnaesbye](https://github.com/larsnaesbye) :
|
## [larsnaesbye](https://github.com/larsnaesbye) :
|
||||||
* Fix typo
|
* Fix typo
|
||||||
|
@ -535,7 +535,7 @@ bool LedKeyboard::setNativeEffect(NativeEffect effect, NativeEffectPart part, ui
|
|||||||
uint8_t protocolByte = 0;
|
uint8_t protocolByte = 0;
|
||||||
|
|
||||||
switch (m_keyboardModel) {
|
switch (m_keyboardModel) {
|
||||||
case KeyboardModel::g410: // Unconfirmed
|
case KeyboardModel::g410:
|
||||||
case KeyboardModel::g610: // Unconfirmed
|
case KeyboardModel::g610: // Unconfirmed
|
||||||
case KeyboardModel::g810:
|
case KeyboardModel::g810:
|
||||||
protocolByte = 0x0d;
|
protocolByte = 0x0d;
|
||||||
|
@ -201,7 +201,11 @@ namespace help {
|
|||||||
cout<<" -fx vwave {target} {speed}"<<endl;
|
cout<<" -fx vwave {target} {speed}"<<endl;
|
||||||
cout<<" -fx cwave {target} {speed}"<<endl;
|
cout<<" -fx cwave {target} {speed}"<<endl;
|
||||||
cout<<endl;
|
cout<<endl;
|
||||||
cout<<"target value :\t\t\t\tall, keys, logo"<<endl;
|
if (cmdName == "g410-led") {
|
||||||
|
cout<<"target value :\t\t\t\tall, keys (all is for compatibility with other keyboard models)"<<endl;
|
||||||
|
} else {
|
||||||
|
cout<<"target value :\t\t\t\tall, keys, logo"<<endl;
|
||||||
|
}
|
||||||
cout<<"color formats :\t\t\t\tRRGGBB (hex value for red, green and blue)"<<endl;
|
cout<<"color formats :\t\t\t\tRRGGBB (hex value for red, green and blue)"<<endl;
|
||||||
cout<<"speed formats :\t\t\t\tSS (hex value for speed 01 to ff)"<<endl;
|
cout<<"speed formats :\t\t\t\tSS (hex value for speed 01 to ff)"<<endl;
|
||||||
cout<<endl;
|
cout<<endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user