qmk-keychron-q3-colemak-dh/keyboards/rgbkb/mun2/mun2.c
chriskhosh e67fce6811
Support for RGBKB/Mun2 (#711)
* Initial commit of mun2 files

* Add debug console

* fix driver for touchbar

* removing debug and extra driver line

* Clean up keymaps

---------

Co-authored-by: Legonut <admin@rgbkb.net>
Co-authored-by: Legonut <legonut3@gmail.com>
2024-04-14 21:58:04 -06:00

23 lines
850 B
C

/*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <https://github.com/Legonut> wrote this file. As long as you retain this
* notice you can do whatever you want with this stuff. If we meet some day, and
* you think this stuff is worth it, you can buy me a beer in return. David Rauseo
* ----------------------------------------------------------------------------
*/
#include "mun2.h"
#include <transactions.h>
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);
}