mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 09:16:11 +00:00
Improve code layout
This commit is contained in:
parent
970c857d5b
commit
a1d4c81471
@ -310,7 +310,8 @@ bool LedKeyboard::setKeys(KeyValueArray keyValues) {
|
|||||||
break;
|
break;
|
||||||
case LedKeyboard::KeyboardModel::g410:
|
case LedKeyboard::KeyboardModel::g410:
|
||||||
if (SortedKeys[4].size() <= 120)
|
if (SortedKeys[4].size() <= 120)
|
||||||
if (keyValues[i].key < LedKeyboard::Key::num_lock || keyValues[i].key > LedKeyboard::Key::num_dot)
|
if (keyValues[i].key < LedKeyboard::Key::num_lock ||
|
||||||
|
keyValues[i].key > LedKeyboard::Key::num_dot)
|
||||||
SortedKeys[4].push_back(keyValues[i]);
|
SortedKeys[4].push_back(keyValues[i]);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user