From d2f248c295660198eae1b518aca864ba138cbf97 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 12 Nov 2016 00:55:55 +0100 Subject: [PATCH] Tempory patch --- src/classes/Keyboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/Keyboard.cpp b/src/classes/Keyboard.cpp index 98169de..91a7f60 100644 --- a/src/classes/Keyboard.cpp +++ b/src/classes/Keyboard.cpp @@ -585,7 +585,7 @@ bool Keyboard::setKeys(KeyValue keyValue[], int keyValueCount) { if (multimediaCount > 0) setKeysInternal(KeyAddressGroup::multimedia, multimedia, multimediaCount); if (keysCount > 0) { - int maxKeyValueCount = 12; // Normally max 14 but dont work + int maxKeyValueCount = 2; // Normally max 14 but dont work for (int i = 0; i < keysCount; i = i + maxKeyValueCount) { KeyValue keysBlock[maxKeyValueCount]; int keysBlockCount = 0;