Fix off-by-one error in kbdneo2.c

This commit is contained in:
Philip Zander 2019-08-19 23:18:02 +02:00 committed by qwertfisch
parent d9f9eb157e
commit 813b157b5c
1 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ static ALLOC_SECTION_LDATA VK_TO_BIT aVkToBits[] = {
static ALLOC_SECTION_LDATA MODIFIERS CharModifiers = {
&aVkToBits[0],
25, //Anzahl der verwendeten Ebenen (inklusive der INVALIDen!)
24, // Maximaler Wert, den die Modifier-Bitmaske annehmen kann
{
// Modifier NEO
// Ebene 0 - nix
@ -3501,4 +3501,4 @@ static ALLOC_SECTION_LDATA KBDTABLES KbdTables = {
PKBDTABLES KbdLayerDescriptor(VOID)
{
return &KbdTables;
}
}