diff options
Diffstat (limited to 'keyboards/binepad/bnr1')
-rw-r--r-- | keyboards/binepad/bnr1/keymaps/default/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/binepad/bnr1/keymaps/via/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/binepad/bnr1/v1/info.json | 5 | ||||
-rwxr-xr-x | keyboards/binepad/bnr1/v2/info.json | 5 |
4 files changed, 4 insertions, 10 deletions
diff --git a/keyboards/binepad/bnr1/keymaps/default/keymap.c b/keyboards/binepad/bnr1/keymaps/default/keymap.c index 974005afaa..4e7b0cf6eb 100644 --- a/keyboards/binepad/bnr1/keymaps/default/keymap.c +++ b/keyboards/binepad/bnr1/keymaps/default/keymap.c @@ -20,7 +20,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] = { [_L0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, [_L1] = { ENCODER_CCW_CW(KC_MS_WH_DOWN, KC_MS_WH_UP) } }; diff --git a/keyboards/binepad/bnr1/keymaps/via/keymap.c b/keyboards/binepad/bnr1/keymaps/via/keymap.c index 974005afaa..4e7b0cf6eb 100644 --- a/keyboards/binepad/bnr1/keymaps/via/keymap.c +++ b/keyboards/binepad/bnr1/keymaps/via/keymap.c @@ -20,7 +20,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] = { [_L0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, [_L1] = { ENCODER_CCW_CW(KC_MS_WH_DOWN, KC_MS_WH_UP) } }; diff --git a/keyboards/binepad/bnr1/v1/info.json b/keyboards/binepad/bnr1/v1/info.json index 1797755549..e67ea81282 100644 --- a/keyboards/binepad/bnr1/v1/info.json +++ b/keyboards/binepad/bnr1/v1/info.json @@ -13,10 +13,7 @@ "encoder": { "enabled": true, "rotary": [ - { - "pin_a": "D6", - "pin_b": "D7" - } + {"pin_a": "D6", "pin_b": "D7"} ] } } diff --git a/keyboards/binepad/bnr1/v2/info.json b/keyboards/binepad/bnr1/v2/info.json index 03cee81b99..d2bc641577 100755 --- a/keyboards/binepad/bnr1/v2/info.json +++ b/keyboards/binepad/bnr1/v2/info.json @@ -13,10 +13,7 @@ "encoder": { "enabled": true, "rotary": [ - { - "pin_a": "B3", - "pin_b": "B4" - } + {"pin_a": "B3", "pin_b": "B4"} ] } } |