diff options
author | tmk <nobody@nowhere> | 2011-01-02 23:52:13 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2011-01-02 23:52:13 +0900 |
commit | 2a562a4191a5b9e88731efb5eabd921821f25f7e (patch) | |
tree | 20f5bb311ff99ced3dd8ee2d9430e2fbe8183f7b /README | |
parent | 1ed336a06499c1baee2421141d59d115f0ee3c4b (diff) |
Add PS/2 mouse support to connect TrackPoint Unit.
Change build options: Makefile and config.h. See README.
Diffstat (limited to 'README')
-rw-r--r-- | README | 41 |
1 files changed, 41 insertions, 0 deletions
@@ -31,6 +31,47 @@ $ make http://winavr.sourceforge.net/ +Build Options +------------- +Makefile: +Comment out to disable the option + # USB NKey Rollover + USB_NKRO_ENABLE = yes + + # mouse keys + MOUSEKEY_ENABLE = yes + + # PS/2 mouse support + PS2_MOUSE_ENABLE = yes + +config.h: + /* USB ID */ + #define VENDOR_ID 0xFEED + #define PRODUCT_ID 0xBEEF + /* device description */ + #define MANUFACTURER t.m.k. + #define PRODUCT Macway mod + #define DESCRIPTION t.m.k. keyboard firmware for Macway mod + /* matrix size */ + #define MATRIX_ROWS 8 + #define MATRIX_COLS 8 + /* mouse keys repeat delay */ + #define MOUSEKEY_DELAY_TIME 192 + /* PS/2 lines */ + #define PS2_CLOCK_PORT PORTF + #define PS2_CLOCK_PIN PINF + #define PS2_CLOCK_DDR DDRF + #define PS2_CLOCK_BIT 0 + #define PS2_DATA_PORT PORTF + #define PS2_DATA_PIN PINF + #define PS2_DATA_DDR DDRF + #define PS2_DATA_BIT 1 + + +Configuration +------------- + + Debuging & Rescue ----------------- Use PJRC's hid_listen.exe to see debug messages. |