mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-19 14:12:01 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
6aaeaa5f7e
@ -179,10 +179,6 @@ __attribute__((weak)) bool pre_process_record_user(uint16_t keycode, keyrecord_t
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
__attribute__((weak)) bool process_action_kb(keyrecord_t *record) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
__attribute__((weak)) bool process_record_modules(uint16_t keycode, keyrecord_t *record) {
|
__attribute__((weak)) bool process_record_modules(uint16_t keycode, keyrecord_t *record) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -297,9 +293,10 @@ void post_process_record_quantum(keyrecord_t *record) {
|
|||||||
post_process_record_kb(keycode, record);
|
post_process_record_kb(keycode, record);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Core keycode function, hands off handling to other functions,
|
/** \brief Core keycode function
|
||||||
then processes internal quantum keycodes, and then processes
|
*
|
||||||
ACTIONs. */
|
* Hands off handling to other quantum/process_keycode/ functions
|
||||||
|
*/
|
||||||
bool process_record_quantum(keyrecord_t *record) {
|
bool process_record_quantum(keyrecord_t *record) {
|
||||||
uint16_t keycode = get_record_keycode(record, true);
|
uint16_t keycode = get_record_keycode(record, true);
|
||||||
|
|
||||||
@ -451,7 +448,7 @@ bool process_record_quantum(keyrecord_t *record) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return process_action_kb(record);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_single_default_layer(uint8_t default_layer) {
|
void set_single_default_layer(uint8_t default_layer) {
|
||||||
|
@ -267,7 +267,6 @@ uint16_t get_event_keycode(keyevent_t event, bool update_layer_cache);
|
|||||||
bool pre_process_record_quantum(keyrecord_t *record);
|
bool pre_process_record_quantum(keyrecord_t *record);
|
||||||
bool pre_process_record_kb(uint16_t keycode, keyrecord_t *record);
|
bool pre_process_record_kb(uint16_t keycode, keyrecord_t *record);
|
||||||
bool pre_process_record_user(uint16_t keycode, keyrecord_t *record);
|
bool pre_process_record_user(uint16_t keycode, keyrecord_t *record);
|
||||||
bool process_action_kb(keyrecord_t *record);
|
|
||||||
bool process_record_kb(uint16_t keycode, keyrecord_t *record);
|
bool process_record_kb(uint16_t keycode, keyrecord_t *record);
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record);
|
bool process_record_user(uint16_t keycode, keyrecord_t *record);
|
||||||
void post_process_record_kb(uint16_t keycode, keyrecord_t *record);
|
void post_process_record_kb(uint16_t keycode, keyrecord_t *record);
|
||||||
|
Loading…
Reference in New Issue
Block a user