mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-09 00:17:38 -04:00
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:
@@ -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];
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------*\
|
||||
|
||||
Reference in New Issue
Block a user