4 /* controller configuration */
5 #include "controller_teensy.h"
7 #define VENDOR_ID 0xFEED
8 #define PRODUCT_ID 0xBEE0
9 #define MANUFACTURER t.m.k.
10 #define PRODUCT Macway mod
11 #define DESCRIPTION t.m.k. keyboard firmware for Macway mod
17 /* define if matrix has ghost */
18 #define MATRIX_HAS_GHOST
21 /* key combination for command */
22 #define IS_COMMAND() ( \
23 keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT) || \
24 keyboard_report->mods == (BIT_LCTRL | BIT_RSHIFT) \
29 #ifdef MOUSEKEY_ENABLE
30 # define MOUSEKEY_DELAY_TIME 192
35 #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