1
0
Fork 0

ADD: keymap macro for human to read easier

ADD: controller.h for controller board definition(teensy)
ADD: debug toggle
This commit is contained in:
tmk 2010-10-26 21:32:45 +09:00
parent 7a336b05ec
commit 461e0d3d8c
17 changed files with 432 additions and 257 deletions

View file

@ -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");