Use UNKNOWN_KEYSWITCH_LOCATION rather than a magic value

pull/389/head
Jesse Vincent 8 years ago
parent a3def769a0
commit 14ed3a2b18

@ -71,7 +71,7 @@ namespace KaleidoscopePlugins {
key.keyCode = MOMENTARY_OFFSET + idx - 8;
}
handle_keyswitch_event (key, 255, 255, keyState | INJECTED);
handle_keyswitch_event (key, UNKNOWN_KEYSWITCH_LOCATION, keyState | INJECTED);
}
void

Loading…
Cancel
Save