ff
This commit is contained in:
@@ -137,17 +137,17 @@ void resetKeybindFile(int layout) {
|
||||
keybinds.insert({HOLD, sfKey::Z});
|
||||
}
|
||||
|
||||
char contentChar;
|
||||
char byte;
|
||||
for (Action action : ACTION_LIST_IN_ORDER) {
|
||||
contentChar = action;
|
||||
layoutFile.write(&contentChar, 1);
|
||||
byte = action;
|
||||
layoutFile.write(&byte, 1);
|
||||
|
||||
if (keybinds.contains(action)) {
|
||||
contentChar = (int) keybinds.at(action);
|
||||
layoutFile.write(&contentChar, 1);
|
||||
byte = (int) keybinds.at(action);
|
||||
layoutFile.write(&byte, 1);
|
||||
}
|
||||
|
||||
contentChar = 0xFF;
|
||||
layoutFile.write(&contentChar, 1);
|
||||
byte = 0xFF;
|
||||
layoutFile.write(&byte, 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user