mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-29 13:30:33 +02:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
@@ -45,6 +45,10 @@ uint16_t get_last_keycode(void) {
|
||||
return last_record.keycode;
|
||||
}
|
||||
|
||||
const keyrecord_t* get_last_record(void) {
|
||||
return &last_record;
|
||||
}
|
||||
|
||||
uint8_t get_last_mods(void) {
|
||||
return last_mods;
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ void set_last_keycode(uint16_t keycode); /**< Sets the last key. */
|
||||
void set_last_mods(uint8_t mods); /**< Sets the last mods. */
|
||||
|
||||
/** @brief Gets the record for the last key. */
|
||||
keyrecord_t* get_last_record(void);
|
||||
const keyrecord_t* get_last_record(void);
|
||||
|
||||
/** @brief Sets keycode and record info for the last key. */
|
||||
void set_last_record(uint16_t keycode, keyrecord_t* record);
|
||||
|
||||
Reference in New Issue
Block a user