aboutsummaryrefslogtreecommitdiff
path: root/macway/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'macway/config.h')
-rw-r--r--macway/config.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/macway/config.h b/macway/config.h
new file mode 100644
index 000000000..de9fc78b1
--- /dev/null
+++ b/macway/config.h
@@ -0,0 +1,38 @@
1#ifndef CONFIG_H
2#define CONFIG_H
3
4#define VENDOR_ID 0xFEED
5#define PRODUCT_ID 0xBEEF
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