1
0
Fork 0

Align RGBKB keyboards to current standards (#23663)

This commit is contained in:
Joel Challis 2024-05-11 13:11:50 +01:00 committed by GitHub
parent 73f3f6e56d
commit 2d4832f57a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
49 changed files with 238 additions and 625 deletions

View file

@ -8,6 +8,7 @@
*/
#include "rev1.h"
#include "transactions.h"
#include "split_util.h"
#define NUMBER_OF_TOUCH_ENCODERS 2
@ -256,3 +257,15 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
}
return true;
};
void keyboard_post_init_kb(void) {
touch_encoder_init();
transaction_register_rpc(TOUCH_ENCODER_SYNC, touch_encoder_slave_sync);
transaction_register_rpc(RGB_MENU_SYNC, rgb_menu_slave_sync);
keyboard_post_init_user();
}
void housekeeping_task_kb(void) {
touch_encoder_update(TOUCH_ENCODER_SYNC);
rgb_menu_update(RGB_MENU_SYNC);
}