From fd49c69d1a173b9d273b2b53eb6a22eda920223a Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 6 Jan 2011 15:18:55 +0900 Subject: added config option: MATRIX_HAS_GHOST and fixed some on matrix.c ADD: Build option: MATRIX_HAS_GHOST to enable ghost blocking logic. FIX: choose matrix buffer type(uint8_t/uint16_t) automatically depending on column size in matrix.c. FIX: use uint8_t insted of int in matrix.c. --- macway/config.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'macway/config.h') diff --git a/macway/config.h b/macway/config.h index 41bdc33de..1403ef127 100644 --- a/macway/config.h +++ b/macway/config.h @@ -1,18 +1,20 @@ #ifndef CONFIG_H #define CONFIG_H +/* controller configuration */ +#include "controller_teensy.h" + #define VENDOR_ID 0xFEED #define PRODUCT_ID 0xBEE0 #define MANUFACTURER t.m.k. #define PRODUCT Macway mod #define DESCRIPTION t.m.k. keyboard firmware for Macway mod -/* controller */ -#include "controller_teensy.h" - /* matrix size */ #define MATRIX_ROWS 9 #define MATRIX_COLS 8 +/* define if matrix has ghost */ +#define MATRIX_HAS_GHOST /* USB NKey Rollover */ #ifdef USB_NKRO_ENABLE -- cgit v1.2.3