Move keyboard event handling into action.c
Since keyboard_layout.[ch] has gained more features, and handles more than just filling out the keyboard report, move it to action.[ch] instead. I see no sane way to separate the keyboard and mouse report filling, unless we want to loop over key states twice, hence them being in the same file. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "keyboard_layout.h"
|
||||
#include "action.h"
|
||||
|
||||
uhk_key_t CurrentKeymap[LAYER_COUNT][SLOT_COUNT][MAX_KEY_COUNT_PER_MODULE] = {
|
||||
// Layer 0
|
||||
|
||||
Reference in New Issue
Block a user