]>
Commit | Line | Data |
---|---|---|
1 | #ifndef CONFIG_H | |
2 | #define CONFIG_H | |
3 | ||
4 | ||
5 | #define VENDOR_ID 0xFEED | |
6 | #define PRODUCT_ID 0x6512 | |
7 | #define MANUFACTURER t.m.k. | |
8 | #define PRODUCT PS/2 keyboard converter | |
9 | #define DESCRIPTION convert PS/2 keyboard to USB | |
10 | ||
11 | /* matrix size */ | |
12 | #define MATRIX_ROWS 32 // keycode bit: 3-0 | |
13 | #define MATRIX_COLS 8 // keycode bit: 6-4 | |
14 | /* define if matrix has ghost */ | |
15 | //#define MATRIX_HAS_GHOST | |
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 255 | |
24 | #endif | |
25 | ||
26 | /* PS/2 mouse */ | |
27 | #define PS2_CLOCK_PORT PORTD | |
28 | #define PS2_CLOCK_PIN PIND | |
29 | #define PS2_CLOCK_DDR DDRD | |
30 | #define PS2_CLOCK_BIT 6 | |
31 | #define PS2_DATA_PORT PORTD | |
32 | #define PS2_DATA_PIN PIND | |
33 | #define PS2_DATA_DDR DDRD | |
34 | #define PS2_DATA_BIT 7 | |
35 | ||
36 | #endif |