summaryrefslogtreecommitdiffstats
path: root/macway/config.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2011-01-06 15:18:55 +0900
committertmk <nobody@nowhere>2011-01-06 15:33:08 +0900
commitfd49c69d1a173b9d273b2b53eb6a22eda920223a (patch)
tree46c6a012a5ecba881fbd78ad7ccb9051e493340e /macway/config.h
parent590235d4bc92d1de4c17b96ae54f4daee8c3db2a (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 'macway/config.h')
-rw-r--r--macway/config.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/macway/config.h b/macway/config.h
index 41bdc33de0..1403ef1274 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