]> git.gir.st - tmk_keyboard.git/blob - macway/config.h
add a build option: USB_EXTRA_ENABLE
[tmk_keyboard.git] / macway / config.h
1 #ifndef CONFIG_H
2 #define CONFIG_H
3
4 #define VENDOR_ID 0xFEED
5 #define PRODUCT_ID 0xBEE0
6 #define MANUFACTURER t.m.k.
7 #define PRODUCT Macway mod
8 #define DESCRIPTION t.m.k. keyboard firmware for Macway mod
9
10 /* controller */
11 #include "controller_teensy.h"
12
13 /* matrix size */
14 #define MATRIX_ROWS 9
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 # define PS2_CLOCK_PORT PORTF
29 # define PS2_CLOCK_PIN PINF
30 # define PS2_CLOCK_DDR DDRF
31 # define PS2_CLOCK_BIT 0
32 # define PS2_DATA_PORT PORTF
33 # define PS2_DATA_PIN PINF
34 # define PS2_DATA_DDR DDRF
35 # define PS2_DATA_BIT 1
36 #endif
37
38 #endif
Imprint / Impressum