diff options
Diffstat (limited to 'keyboards/fearherbs1')
-rw-r--r-- | keyboards/fearherbs1/blue_team_pad/info.json | 44 | ||||
-rw-r--r-- | keyboards/fearherbs1/blue_team_pad/keymaps/default/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/fearherbs1/blue_team_pad/keymaps/via/keymap.c | 2 |
3 files changed, 24 insertions, 24 deletions
diff --git a/keyboards/fearherbs1/blue_team_pad/info.json b/keyboards/fearherbs1/blue_team_pad/info.json index 8cefdd23b1..37de66b477 100644 --- a/keyboards/fearherbs1/blue_team_pad/info.json +++ b/keyboards/fearherbs1/blue_team_pad/info.json @@ -33,28 +33,28 @@ "layouts": { "LAYOUT": { "layout": [ - { "matrix": [0, 0], "x": 0.0, "y": 0.0 }, - { "matrix": [0, 4], "x": 4.0, "y": 0.0 }, - { "matrix": [1, 0], "x": 0.0, "y": 2.0 }, - { "matrix": [1, 1], "x": 1.0, "y": 2.0 }, - { "matrix": [1, 2], "x": 2.0, "y": 2.0 }, - { "matrix": [1, 3], "x": 3.0, "y": 2.0 }, - { "matrix": [1, 4], "x": 4.0, "y": 2.0 }, - { "matrix": [2, 0], "x": 0.0, "y": 3.0 }, - { "matrix": [2, 1], "x": 1.0, "y": 3.0 }, - { "matrix": [2, 2], "x": 2.0, "y": 3.0 }, - { "matrix": [2, 3], "x": 3.0, "y": 3.0 }, - { "matrix": [2, 4], "x": 4.0, "y": 3.0 }, - { "matrix": [3, 0], "x": 0.0, "y": 4.0 }, - { "matrix": [3, 1], "x": 1.0, "y": 4.0 }, - { "matrix": [3, 2], "x": 2.0, "y": 4.0 }, - { "matrix": [3, 3], "x": 3.0, "y": 4.0 }, - { "matrix": [3, 4], "x": 4.0, "y": 4.0 }, - { "matrix": [4, 0], "x": 0.0, "y": 5.0 }, - { "matrix": [4, 1], "x": 1.0, "y": 5.0 }, - { "matrix": [4, 2], "x": 2.0, "y": 5.0 }, - { "matrix": [4, 3], "x": 3.0, "y": 5.0 }, - { "matrix": [4, 4], "x": 4.0, "y": 5.0 } + { "matrix": [0, 0], "x": 0, "y": 0 }, + { "matrix": [0, 4], "x": 4, "y": 0 }, + { "matrix": [1, 0], "x": 0, "y": 2 }, + { "matrix": [1, 1], "x": 1, "y": 2 }, + { "matrix": [1, 2], "x": 2, "y": 2 }, + { "matrix": [1, 3], "x": 3, "y": 2 }, + { "matrix": [1, 4], "x": 4, "y": 2 }, + { "matrix": [2, 0], "x": 0, "y": 3 }, + { "matrix": [2, 1], "x": 1, "y": 3 }, + { "matrix": [2, 2], "x": 2, "y": 3 }, + { "matrix": [2, 3], "x": 3, "y": 3 }, + { "matrix": [2, 4], "x": 4, "y": 3 }, + { "matrix": [3, 0], "x": 0, "y": 4 }, + { "matrix": [3, 1], "x": 1, "y": 4 }, + { "matrix": [3, 2], "x": 2, "y": 4 }, + { "matrix": [3, 3], "x": 3, "y": 4 }, + { "matrix": [3, 4], "x": 4, "y": 4 }, + { "matrix": [4, 0], "x": 0, "y": 5 }, + { "matrix": [4, 1], "x": 1, "y": 5 }, + { "matrix": [4, 2], "x": 2, "y": 5 }, + { "matrix": [4, 3], "x": 3, "y": 5 }, + { "matrix": [4, 4], "x": 4, "y": 5 } ] } } diff --git a/keyboards/fearherbs1/blue_team_pad/keymaps/default/keymap.c b/keyboards/fearherbs1/blue_team_pad/keymaps/default/keymap.c index 7dbbca0dcc..a012b2eedd 100644 --- a/keyboards/fearherbs1/blue_team_pad/keymaps/default/keymap.c +++ b/keyboards/fearherbs1/blue_team_pad/keymaps/default/keymap.c @@ -16,7 +16,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; #if defined(ENCODER_MAP_ENABLE) -const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) }, }; #endif diff --git a/keyboards/fearherbs1/blue_team_pad/keymaps/via/keymap.c b/keyboards/fearherbs1/blue_team_pad/keymaps/via/keymap.c index 439b3d8493..44c5e6d052 100644 --- a/keyboards/fearherbs1/blue_team_pad/keymaps/via/keymap.c +++ b/keyboards/fearherbs1/blue_team_pad/keymaps/via/keymap.c @@ -15,7 +15,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; #if defined(ENCODER_MAP_ENABLE) -const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) }, }; #endif |