]> git.gir.st - tmk_keyboard.git/blob - ps2_usb/config.h
Synchronous USART support for PS/2 on V-USB stack
[tmk_keyboard.git] / ps2_usb / config.h
1 #ifndef CONFIG_H
2 #define CONFIG_H
3
4 /* controller configuration */
5 #include "controller_teensy.h"
6
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
12
13 /* matrix size */
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
18
19 /* USB NKey Rollover */
20 #ifdef USB_NKRO_ENABLE
21 #endif
22
23 /* mouse keys */
24 #ifdef MOUSEKEY_ENABLE
25 # define MOUSEKEY_DELAY_TIME 255
26 #endif
27
28 /* PS/2 mouse */
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
Imprint / Impressum