-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
--------------
+<target>/Makefile:
+1. Set target name for your firmware.
+ TARGET = tmk_<target>
+2. Choose a MCU and its frequency.
+ MCU = atmega32u4 # Teensy 2.0
+ #MCU = at90usb1286 # Teensy++ 2.0
+ F_CPU = 16000000
+3. Choose optional modules as needed. Comment out to disable optional modules.
+ MOUSEKEY_ENABLE = yes # Mouse keys
+ PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support
+ USB_EXTRA_ENABLE = yes # Enhanced feature for Windows(Audio control and System control)
+ USB_NKRO_ENABLE = yes # USB Nkey Rollover
+
+<target>/config.h:
+1. USB vendor/product ID and device description
+ #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
+2. Keyboard matrix configuration
+ #define MATRIX_ROWS 8
+ #define MATRIX_COLS 8
+ #define MATRIX_HAS_GHOST
+3. Mouse keys configuration if needed.
+4. PS/2 mouse configuration if needed.