]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - keyboard/hhkb/config.h
Add HHKB JP support
[tmk_firmware.git] / keyboard / hhkb / config.h
index 83a911beab19be3d9c28679cc3469fe9f16b1a2a..33af74ebb96dd2371ae972548706a85b49dcda58 100644 (file)
@@ -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
 
 
@@ -40,7 +44,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define TAPPING_TERM    300
 /* tap count needed for toggling a feature */
 #define TAPPING_TOGGLE  5
-
+/* Oneshot timeout(ms) */
+#define ONESHOT_TIMEOUT 300
 
 /* Boot Magic salt key: Space */
 #define BOOTMAGIC_KEY_SALT      KC_FN6