From 2a562a4191a5b9e88731efb5eabd921821f25f7e Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 2 Jan 2011 23:52:13 +0900 Subject: Add PS/2 mouse support to connect TrackPoint Unit. Change build options: Makefile and config.h. See README. --- README | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'README') diff --git a/README b/README index 57bce575c7..c5f5340e16 100644 --- a/README +++ b/README @@ -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. -- cgit v1.2.3