summaryrefslogtreecommitdiffstats
path: root/keyboard/hhkb/config.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-07-09 15:31:52 +0900
committertmk <nobody@nowhere>2014-07-09 15:31:52 +0900
commit60134830506043be0c6d9d5ab37cf65dad3cc85f (patch)
treef91ca27dd87dbae4c137dfa2e39fc059d67902d3 /keyboard/hhkb/config.h
parent34373185b746ae5b49cf56ac956080525c7dd6f8 (diff)
Add HHKB JP support
- scan matrix about twice faster
Diffstat (limited to 'keyboard/hhkb/config.h')
-rw-r--r--keyboard/hhkb/config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboard/hhkb/config.h b/keyboard/hhkb/config.h
index a8f76ae6b0..33af74ebb9 100644
--- a/keyboard/hhkb/config.h
+++ b/keyboard/hhkb/config.h
@@ -28,7 +28,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* matrix size */
-#define MATRIX_ROWS 8
+#ifdef HHKB_JP
+# define MATRIX_ROWS 16
+#else
+# define MATRIX_ROWS 8
+#endif
#define MATRIX_COLS 8