Various fixes for keyboards not implementing callbacks correctly (#24092)
This commit is contained in:
parent
23c4704123
commit
e0809eade5
14 changed files with 58 additions and 16 deletions
|
|
@ -1,10 +1,12 @@
|
|||
#include "omnikeyish.h"
|
||||
|
||||
void keyboard_pre_init_user(void) {
|
||||
void keyboard_pre_init_kb(void) {
|
||||
dynamic_macro_init();
|
||||
|
||||
keyboard_pre_init_user();
|
||||
}
|
||||
|
||||
void keyboard_post_init_user(void) {
|
||||
void keyboard_post_init_kb(void) {
|
||||
/* Customise these values to desired behaviour */
|
||||
//debug_enable = true;
|
||||
//debug_matrix=true;
|
||||
|
|
@ -19,6 +21,8 @@ void keyboard_post_init_user(void) {
|
|||
/* Send numlock keycode to attempt to force numlock back on. */
|
||||
register_code(KC_NUM_LOCK);
|
||||
unregister_code(KC_NUM_LOCK);
|
||||
|
||||
keyboard_post_init_user();
|
||||
}
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue