Rename a couple of members of key_action_t to be more intuitive.

This commit is contained in:
László Monda
2017-03-03 21:59:28 +01:00
parent b6cc59125d
commit cc2c06f497
4 changed files with 146 additions and 146 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->keystroke.key = readUInt8(buffer);
action->basicKeystroke.scancode = readUInt8(buffer);
}
if (flags & HAS_MODS) {
action->keystroke.mods = readUInt8(buffer);
action->basicKeystroke.modifiers = readUInt8(buffer);
}
if (flags & HAS_LONGPRESS) {
action->keystroke.longPress = readUInt8(buffer);
action->basicKeystroke.longPressAction = readUInt8(buffer);
}
}