summaryrefslogtreecommitdiff
path: root/hhkb
diff options
context:
space:
mode:
Diffstat (limited to 'hhkb')
-rw-r--r--hhkb/Makefile1
-rw-r--r--hhkb/config.h5
-rw-r--r--hhkb/led.c9
3 files changed, 14 insertions, 1 deletions
diff --git a/hhkb/Makefile b/hhkb/Makefile
index 8e771d9557..7c7ed0ee23 100644
--- a/hhkb/Makefile
+++ b/hhkb/Makefile
@@ -9,7 +9,6 @@ TARGET_DIR = .
# keyboard dependent files
TARGET_SRC = tmk.c \
- host_pjrc.c \
keymap.c \
matrix.c \
led.c
diff --git a/hhkb/config.h b/hhkb/config.h
index cc86e55cad..b8392aa8eb 100644
--- a/hhkb/config.h
+++ b/hhkb/config.h
@@ -13,9 +13,14 @@
/* matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 8
+
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST
+/* key combination for command */
+#define IS_COMMAND() (keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT))
+
+
/* USB NKey Rollover */
#ifdef USB_NKRO_ENABLE
#endif
diff --git a/hhkb/led.c b/hhkb/led.c
new file mode 100644
index 0000000000..a961768598
--- /dev/null
+++ b/hhkb/led.c
@@ -0,0 +1,9 @@
+#include "stdint.h"
+#include "led.h"
+
+
+/* HHKB has no LEDs */
+void led_set(uint8_t usb_led)
+{
+}
+