]> git.gir.st - tmk_keyboard.git/blob - hhkb/config.h
Add PS/2 mouse support to connect TrackPoint Unit.
[tmk_keyboard.git] / hhkb / config.h
1 #ifndef CONFIG_H
2 #define CONFIG_H
3
4 #define VENDOR_ID 0xFEED
5 #define PRODUCT_ID 0xCAFE
6 #define MANUFACTURER t.m.k.
7 #define PRODUCT HHKB mod
8 #define DESCRIPTION t.m.k. keyboard firmware for HHKB mod
9
10 /* controller */
11 #include "controller_teensy.h"
12
13 /* matrix size */
14 #define MATRIX_ROWS 8
15 #define MATRIX_COLS 8
16
17 /* USB NKey Rollover */
18 #ifdef USB_NKRO_ENABLE
19 #endif
20
21 /* mouse keys */
22 #ifdef MOUSEKEY_ENABLE
23 # define MOUSEKEY_DELAY_TIME 192
24 #endif
25
26 /* PS/2 mouse */
27 #ifdef PS2_MOUSE_ENABLE
28 /*
29 # define PS2_CLOCK_PORT PORTF
30 # define PS2_CLOCK_PIN PINF
31 # define PS2_CLOCK_DDR DDRF
32 # define PS2_CLOCK_BIT 0
33 # define PS2_DATA_PORT PORTF
34 # define PS2_DATA_PIN PINF
35 # define PS2_DATA_DDR DDRF
36 # define PS2_DATA_BIT 1
37 */
38 #endif
39
40 #endif
Imprint / Impressum