]> git.friedersdorff.com Git - max/tmk_keyboard.git/blob - hhkb/config.h
fixed: not to send key if fn_keycode is modifier
[max/tmk_keyboard.git] / hhkb / config.h
1 #ifndef CONFIG_H
2 #define CONFIG_H
3
4 /* controller configuration */
5 #include "controller_teensy.h"
6
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
12
13 /* matrix size */
14 #define MATRIX_ROWS 8
15 #define MATRIX_COLS 8
16
17 /* define if matrix has ghost */
18 //#define MATRIX_HAS_GHOST
19
20 /* key combination for command */
21 #define IS_COMMAND() (keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT))
22
23
24 /* USB NKey Rollover */
25 #ifdef USB_NKRO_ENABLE
26 #endif
27
28 /* mouse keys */
29 #ifdef MOUSEKEY_ENABLE
30 #   define MOUSEKEY_DELAY_TIME 192
31 #endif
32
33 /* PS/2 mouse */
34 #ifdef PS2_MOUSE_ENABLE
35 /*
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
44 */
45 #endif
46
47 #endif