Various fixes for keyboards not implementing callbacks correctly (#24092)

This commit is contained in:
Joel Challis 2024-07-11 13:47:53 +01:00 committed by GitHub
parent 23c4704123
commit e0809eade5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 58 additions and 16 deletions

View file

@ -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) {