1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 09:16:11 +00:00

Remove logo for G410

This commit is contained in:
MatMoul 2017-03-18 19:44:37 +01:00
parent 267fd9688d
commit d9a7c4c561
2 changed files with 3 additions and 10 deletions

View File

@ -267,7 +267,6 @@ bool LedKeyboard::setKeys(KeyValueArray keyValues) {
switch(static_cast<LedKeyboard::KeyAddressGroup>(static_cast<uint16_t>(keyValues[i].key) >> 8 )) {
case LedKeyboard::KeyAddressGroup::logo:
switch (m_keyboardModel) {
case LedKeyboard::KeyboardModel::g410:
case LedKeyboard::KeyboardModel::g610:
case LedKeyboard::KeyboardModel::g810:
if (SortedKeys[0].size() <= 1 && keyValues[i].key == LedKeyboard::Key::logo)

View File

@ -65,8 +65,7 @@ namespace help {
cout<<endl;
cout<<"Group List :"<<endl;
if (cmdName == "g410-led") cout<<" logo (Need confirmation)"<<endl;
else cout<<" logo"<<endl;
if (cmdName != "g410-led") cout<<" logo"<<endl;
if (cmdName != "g410-led") cout<<" indicators"<<endl;
if (cmdName == "g910-led") cout<<" gkeys"<<endl;
cout<<" fkeys"<<endl;
@ -79,16 +78,11 @@ namespace help {
cout<<endl;
cout<<endl;
// need confirmation for g410
if (cmdName == "g410-led") {
cout<<"Group logo :"<<endl;
cout<<" logo (Need confirmation)"<<endl;
cout<<" logo2 (Need confirmation)"<<endl;
} else if (cmdName == "g910-led") {
if (cmdName == "g910-led") {
cout<<"Group logo :"<<endl;
cout<<" logo"<<endl;
cout<<" logo2"<<endl;
} else {
} else if (cmdName != "g410-led") {
cout<<"Group logo :"<<endl;
cout<<" logo"<<endl;
}