4 /* controller configuration */
5 #include "controller_teensy.h"
7 #define VENDOR_ID 0xFEED
8 #define PRODUCT_ID 0x6512
9 #define MANUFACTURER t.m.k.
10 #define PRODUCT PS/2 keyboard converter
11 #define DESCRIPTION convert PS/2 keyboard to USB
14 #define MATRIX_ROWS 32 // keycode bit: 3-0
15 #define MATRIX_COLS 8 // keycode bit: 6-4
16 /* define if matrix has ghost */
17 //#define MATRIX_HAS_GHOST
19 /* USB NKey Rollover */
20 #ifdef USB_NKRO_ENABLE
24 #ifdef MOUSEKEY_ENABLE
25 # define MOUSEKEY_DELAY_TIME 255
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