Rename .basicKeystroke back to .keystroke

This commit is contained in:
László Monda
2017-03-03 22:36:17 +01:00
parent cc2c06f497
commit d2e3d6becf
4 changed files with 144 additions and 144 deletions
+3 -3
View File
@@ -109,13 +109,13 @@ static void processKeyStrokeAction(key_action_t *action, uint8_t actionType, ser
action->type = KEY_ACTION_BASIC_KEYSTROKE;
if (flags & HAS_SCANCODE) {
action->basicKeystroke.scancode = readUInt8(buffer);
action->keystroke.scancode = readUInt8(buffer);
}
if (flags & HAS_MODS) {
action->basicKeystroke.modifiers = readUInt8(buffer);
action->keystroke.modifiers = readUInt8(buffer);
}
if (flags & HAS_LONGPRESS) {
action->basicKeystroke.longPressAction = readUInt8(buffer);
action->keystroke.longPressAction = readUInt8(buffer);
}
}