diff options
author | tmk <nobody@nowhere> | 2011-01-06 15:18:55 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2011-01-06 15:33:08 +0900 |
commit | fd49c69d1a173b9d273b2b53eb6a22eda920223a (patch) | |
tree | 46c6a012a5ecba881fbd78ad7ccb9051e493340e /hhkb/config.h | |
parent | 590235d4bc92d1de4c17b96ae54f4daee8c3db2a (diff) |
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.
Diffstat (limited to 'hhkb/config.h')
-rw-r--r-- | hhkb/config.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hhkb/config.h b/hhkb/config.h index 7722ed46a8..cc86e55cad 100644 --- a/hhkb/config.h +++ b/hhkb/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 0xCAFE #define MANUFACTURER t.m.k. #define PRODUCT HHKB mod #define DESCRIPTION t.m.k. keyboard firmware for HHKB mod -/* controller */ -#include "controller_teensy.h" - /* matrix size */ #define MATRIX_ROWS 8 #define MATRIX_COLS 8 +/* define if matrix has ghost */ +//#define MATRIX_HAS_GHOST /* USB NKey Rollover */ #ifdef USB_NKRO_ENABLE |