Browse Source

Fix off-by-one error in kbdneo2.c

feature/programmer
Philip Zander qwertfisch 9 months ago
parent
commit
813b157b5c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      windows/kbdneo2/Quelldateien/kbdneo2.c

+ 2
- 2
windows/kbdneo2/Quelldateien/kbdneo2.c 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;
}
}

Loading…
Cancel
Save