ADD: keymap macro for human to read easier
ADD: controller.h for controller board definition(teensy) ADD: debug toggle
This commit is contained in:
parent
7a336b05ec
commit
461e0d3d8c
17 changed files with 432 additions and 257 deletions
|
@ -2,6 +2,7 @@
|
|||
#include <avr/pgmspace.h>
|
||||
#include "usb_keyboard.h"
|
||||
#include "print.h"
|
||||
#include "debug.h"
|
||||
|
||||
|
||||
static bool is_sent = false;
|
||||
|
@ -112,6 +113,7 @@ bool usb_keyboard_has_mod(void) {
|
|||
}
|
||||
|
||||
void usb_keyboard_print(void) {
|
||||
if (!debug_keyboard) return;
|
||||
print("\nkeys: ");
|
||||
for (int i = 0; i < 6; i++) { phex(keyboard_keys[i]); print(" "); }
|
||||
print("\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue