Fix AOC GK500 mapping broken by changing KLM base layout from ANSI to Default (English ANSI + English ISO combined map). Rename the 'ansi' field to reflect that this is no longer an ANSI map.
This commit is contained in:
parent
c23bbbd32a
commit
11bdaaa2fc
4 changed files with 15 additions and 14 deletions
|
|
@ -335,9 +335,9 @@ KeyboardLayoutManager::KeyboardLayoutManager(KEYBOARD_LAYOUT layout, KEYBOARD_SI
|
|||
| Add any values passed into the constructor before switching layouts |
|
||||
| and declare a value set for any changes afterwards |
|
||||
\*---------------------------------------------------------------------*/
|
||||
for(size_t key_idx = 0; key_idx < values.ansi.size() && key_idx < keymap.size(); key_idx++)
|
||||
for(size_t key_idx = 0; key_idx < values.default_values.size() && key_idx < keymap.size(); key_idx++)
|
||||
{
|
||||
keymap[key_idx].value = values.ansi[key_idx];
|
||||
keymap[key_idx].value = values.default_values[key_idx];
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------*\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue