summaryrefslogtreecommitdiffstats
path: root/keyboards/vision_division/keymaps
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-10-23 23:00:43 -0500
committerIBNobody <ibnobody@gmail.com>2016-10-23 23:00:43 -0500
commit17170ba76d3c94edcf1ab263520238fdb0384774 (patch)
tree4b80ab5544e6f53464068210278f0405bd596c41 /keyboards/vision_division/keymaps
parent05ceef2350dbd72f696d70b8a2567d048fa147dc (diff)
Fixed some large keyboard bugs
Fixed some bugs relating to keyboards with more than 16 columns. Also added the ability to mask off keyboard matrix bits.
Diffstat (limited to 'keyboards/vision_division/keymaps')
-rw-r--r--keyboards/vision_division/keymaps/default/keymap.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/vision_division/keymaps/default/keymap.c b/keyboards/vision_division/keymaps/default/keymap.c
index 8622ee5211..3282761c0f 100644
--- a/keyboards/vision_division/keymaps/default/keymap.c
+++ b/keyboards/vision_division/keymaps/default/keymap.c
@@ -142,6 +142,17 @@ enum keyboard_macros {
#define ________________ _______, _______
#define XXXXXXXXXXXXXXXX XXXXXXX, XXXXXXX
+const matrix_row_t matrix_mask[MATRIX_ROWS] =
+{
+// 1098765432109876543210987654321
+ 0b0000000001111111101111011111111,
+ 0b0000000001111111111111111111111,
+ 0b0000000001111111111111111111111,
+ 0b0000000001111111111111111111111,
+ 0b0000000001010111111111111111111,
+ 0b0000000001111101111111101011111,
+};
+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] =
{
/* LAYER = LAYER_QWERTY