4 /* controller configuration */
5 #include "controller_teensy.h"
7 #define VENDOR_ID 0xFEED
8 #define PRODUCT_ID 0xCAFE
9 #define MANUFACTURER t.m.k.
10 #define PRODUCT HHKB mod
11 #define DESCRIPTION t.m.k. keyboard firmware for HHKB mod
17 /* define if matrix has ghost */
18 //#define MATRIX_HAS_GHOST
20 /* key combination for command */
21 #define IS_COMMAND() (keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT))
24 /* USB NKey Rollover */
25 #ifdef USB_NKRO_ENABLE
29 #ifdef MOUSEKEY_ENABLE
30 # define MOUSEKEY_DELAY_TIME 192
34 #ifdef PS2_MOUSE_ENABLE
36 # define PS2_CLOCK_PORT PORTF
37 # define PS2_CLOCK_PIN PINF
38 # define PS2_CLOCK_DDR DDRF
39 # define PS2_CLOCK_BIT 0
40 # define PS2_DATA_PORT PORTF
41 # define PS2_DATA_PIN PINF
42 # define PS2_DATA_DDR DDRF
43 # define PS2_DATA_BIT 1