host interface for pjrc
This commit is contained in:
parent
2b8cd88ab1
commit
9a938eecbd
24 changed files with 473 additions and 330 deletions
|
@ -9,7 +9,6 @@ TARGET_DIR = .
|
|||
|
||||
# keyboard dependent files
|
||||
TARGET_SRC = tmk.c \
|
||||
host_pjrc.c \
|
||||
keymap.c \
|
||||
matrix.c \
|
||||
led.c
|
||||
|
|
|
@ -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
|
||||
|
|
9
hhkb/led.c
Normal file
9
hhkb/led.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include "stdint.h"
|
||||
#include "led.h"
|
||||
|
||||
|
||||
/* HHKB has no LEDs */
|
||||
void led_set(uint8_t usb_led)
|
||||
{
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue