diff options
author | lokher <lokher@gmail.com> | 2022-12-06 17:10:48 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2022-12-07 15:50:49 +0800 |
commit | a336c2c5005251e4cb0f3a62ccabdb4cfccad915 (patch) | |
tree | 3c948b631a5e3b6f940dabe02fad3c7487e6f350 /keyboards/binepad | |
parent | 27fc28fd2ff52e079a5bc58d6aaea4c752420615 (diff) |
Merge upstream master to 2022 Q4 breaking change
Diffstat (limited to 'keyboards/binepad')
-rwxr-xr-x | keyboards/binepad/bn006/config.h | 79 | ||||
-rwxr-xr-x | keyboards/binepad/bn006/info.json | 52 | ||||
-rwxr-xr-x | keyboards/binepad/bn006/keymaps/default/keymap.c | 18 | ||||
-rwxr-xr-x | keyboards/binepad/bn006/keymaps/via/keymap.c | 33 | ||||
-rw-r--r-- | keyboards/binepad/bn006/keymaps/via/rules.mk | 4 | ||||
-rwxr-xr-x | keyboards/binepad/bn006/readme.md | 26 | ||||
-rwxr-xr-x | keyboards/binepad/bn006/rules.mk | 5 | ||||
-rwxr-xr-x | keyboards/binepad/bnr1/info.json | 29 | ||||
-rw-r--r-- | keyboards/binepad/bnr1/keymaps/default/keymap.c | 28 | ||||
-rw-r--r-- | keyboards/binepad/bnr1/keymaps/default/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/binepad/bnr1/keymaps/via/config.h | 11 | ||||
-rw-r--r-- | keyboards/binepad/bnr1/keymaps/via/keymap.c | 28 | ||||
-rw-r--r-- | keyboards/binepad/bnr1/keymaps/via/rules.mk | 7 | ||||
-rwxr-xr-x | keyboards/binepad/bnr1/readme.md | 23 | ||||
-rwxr-xr-x | keyboards/binepad/bnr1/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/binepad/bnr1/v1/info.json | 14 | ||||
-rw-r--r-- | keyboards/binepad/bnr1/v1/rules.mk | 1 |
17 files changed, 0 insertions, 367 deletions
diff --git a/keyboards/binepad/bn006/config.h b/keyboards/binepad/bn006/config.h deleted file mode 100755 index 200251cd1c..0000000000 --- a/keyboards/binepad/bn006/config.h +++ /dev/null @@ -1,79 +0,0 @@ -/* Copyright 2022 Binepad (@binpad) */ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#pragma once - -/* - * Wear Leveling EEPROM Emulation - */ - -#define WEAR_LEVELING_LOGICAL_SIZE 2048 // Number of bytes "exposed" to the rest of QMK and denotes the size of the usable EEPROM. -#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2) // Number of bytes used by the wear-leveling algorithm for its underlying storage, and needs to be a multiple of the logical size. - - -/* - * RGB Matrix - */ - -#ifdef RGB_MATRIX_ENABLE - /* =========================================================================================== - * PLEASE NOTE: Because the BN006 only has 6 keys, not all the animations are visually viable - * =========================================================================================== */ - - #define RGB_DI_PIN B15 - #define RGB_MATRIX_LED_COUNT 6 - #define RGB_MATRIX_KEYPRESSES // reacts to keypresses - #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended - #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 - #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_BREATHING // Sets the default mode, if none has been set - #define RGB_TRIGGER_ON_KEYDOWN // Triggers RGB keypress events on key down. This makes RGB control feel more responsive. This may cause RGB to not function properly on some boards - - // RGB Matrix Animation modes. Explicitly enabled - // For full list of effects, see: https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects - #define ENABLE_RGB_MATRIX_SOLID_COLOR - // #define ENABLE_RGB_MATRIX_ALPHAS_MODS - #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN - #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT - #define ENABLE_RGB_MATRIX_BREATHING - // #define ENABLE_RGB_MATRIX_BAND_SAT - // #define ENABLE_RGB_MATRIX_BAND_VAL - // #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT - // #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL - // #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT - // #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL - // #define ENABLE_RGB_MATRIX_CYCLE_ALL - // #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT - // #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN - // #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON - // #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN - // #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL - // #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL - // #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL - // #define ENABLE_RGB_MATRIX_DUAL_BEACON - // #define ENABLE_RGB_MATRIX_RAINBOW_BEACON - // #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS - // #define ENABLE_RGB_MATRIX_RAINDROPS - // #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS - // #define ENABLE_RGB_MATRIX_HUE_BREATHING - // #define ENABLE_RGB_MATRIX_HUE_PENDULUM - // #define ENABLE_RGB_MATRIX_HUE_WAVE - // #define ENABLE_RGB_MATRIX_PIXEL_RAIN - // #define ENABLE_RGB_MATRIX_PIXEL_FLOW - // #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL - // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined - // #define ENABLE_RGB_MATRIX_TYPING_HEATMAP - // #define ENABLE_RGB_MATRIX_DIGITAL_RAIN - // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS - // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS - #define ENABLE_RGB_MATRIX_SPLASH - // #define ENABLE_RGB_MATRIX_MULTISPLASH - #define ENABLE_RGB_MATRIX_SOLID_SPLASH - // #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH -#endif diff --git a/keyboards/binepad/bn006/info.json b/keyboards/binepad/bn006/info.json deleted file mode 100755 index c0147a564e..0000000000 --- a/keyboards/binepad/bn006/info.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "manufacturer": "Binepad", - "keyboard_name": "BN006", - "maintainer": "Binepad", - "bootloader": "stm32duino", - "debounce": 5, - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "command": false, - "console": false, - "extrakey": true, - "mousekey": true, - "nkro": false, - "rgb_matrix": true - }, - "matrix_pins": { - "cols": ["A15", "B3", "B4"], - "rows": ["A8", "C14"] - }, - "processor": "STM32F103", - "url": "https://binepad.com", - "usb": { - "vid": "0x4249", - "pid": "0x426E", - "device_version": "1.0.0" - }, - "rgb_matrix": { - "driver": "WS2812", - "layout": [ - { "flags": 4, "matrix": [0, 0], "x": 0, "y": 0 }, - { "flags": 4, "matrix": [0, 1], "x": 112, "y": 0 }, - { "flags": 4, "matrix": [0, 2], "x": 224, "y": 0 }, - { "flags": 4, "matrix": [1, 0], "x": 0, "y": 64 }, - { "flags": 4, "matrix": [1, 1], "x": 112, "y": 64 }, - { "flags": 4, "matrix": [1, 2], "x": 224, "y": 64 } - ] - }, - "community_layouts": ["ortho_2x3"], - "layouts": { - "LAYOUT_ortho_2x3": { - "layout": [ - { "matrix": [0, 0], "x": 0, "y": 0 }, - { "matrix": [0, 1], "x": 1, "y": 0 }, - { "matrix": [0, 2], "x": 2, "y": 0 }, - { "matrix": [1, 0], "x": 0, "y": 1 }, - { "matrix": [1, 1], "x": 1, "y": 1 }, - { "matrix": [1, 2], "x": 2, "y": 1 } - ] - } - } -} diff --git a/keyboards/binepad/bn006/keymaps/default/keymap.c b/keyboards/binepad/bn006/keymaps/default/keymap.c deleted file mode 100755 index a79ff505a1..0000000000 --- a/keyboards/binepad/bn006/keymaps/default/keymap.c +++ /dev/null @@ -1,18 +0,0 @@ -/* Copyright 2022 Binepad (@binpad) */ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┐ - * │ A │ B │ C │ - * ├───┼───┼───┤ - * │ D │ E │ F │ - * └───┴───┴───┘ - */ - [0] = LAYOUT_ortho_2x3( - KC_MPLY, KC_MUTE, KC_VOLU, - KC_MPRV, KC_MNXT, KC_VOLD - ) -}; diff --git a/keyboards/binepad/bn006/keymaps/via/keymap.c b/keyboards/binepad/bn006/keymaps/via/keymap.c deleted file mode 100755 index 1ee98f890c..0000000000 --- a/keyboards/binepad/bn006/keymaps/via/keymap.c +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright 2022 Binepad (@binpad) */ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┐ - * │ A │ B │ C │ - * ├───┼───┼───┤ - * │ D │ E │ F │ - * └───┴───┴───┘ - */ - [0] = LAYOUT_ortho_2x3( - KC_MPLY, KC_MUTE, KC_VOLU, - KC_MPRV, KC_MNXT, KC_VOLD - ), - - [1] = LAYOUT_ortho_2x3( - _______, _______, _______, - _______, _______, _______ - ), - - [2] = LAYOUT_ortho_2x3( - _______, _______, _______, - _______, _______, _______ - ), - - [3] = LAYOUT_ortho_2x3( - _______, _______, _______, - _______, _______, _______ - ) -}; diff --git a/keyboards/binepad/bn006/keymaps/via/rules.mk b/keyboards/binepad/bn006/keymaps/via/rules.mk deleted file mode 100644 index 78ee487f45..0000000000 --- a/keyboards/binepad/bn006/keymaps/via/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -# Copyright 2022 Binepad (@binpad) -# SPDX-License-Identifier: GPL-2.0-or-later - -VIA_ENABLE = yes diff --git a/keyboards/binepad/bn006/readme.md b/keyboards/binepad/bn006/readme.md deleted file mode 100755 index 1964b5dced..0000000000 --- a/keyboards/binepad/bn006/readme.md +++ /dev/null @@ -1,26 +0,0 @@ -# BINEPAD BN006 - -The BN006 is a CNC machined 6-key macropad - -* Keyboard Maintainer: [Binepad](https://github.com/binepad) -* Hardware Supported: BN006 -* Hardware Availability: [Binepad.com](https://www.binepad.com/bn006) - -Make example for this keyboard (after setting up your build environment): - - make binepad/bn006:default - -Flashing example for this keyboard: - - make binepad/bn006:default:flash - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. -Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). - -## Bootloader - -Enter the bootloader in 3 ways: - -* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key) and plug in the keyboard -* **Physical reset button**: Briefly press the button on the back of the PCB -* **Keycode in layout**: Press the key mapped to `QK_BOOT` *(or `RESET`)* if it is available diff --git a/keyboards/binepad/bn006/rules.mk b/keyboards/binepad/bn006/rules.mk deleted file mode 100755 index 58561c984b..0000000000 --- a/keyboards/binepad/bn006/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 2022 Binepad (@binpad) -# SPDX-License-Identifier: GPL-2.0-or-later - -EPROM_DRIVER = wear_leveling -WEAR_LEVELING_DRIVER = embedded_flash diff --git a/keyboards/binepad/bnr1/info.json b/keyboards/binepad/bnr1/info.json deleted file mode 100755 index c5f1c05cce..0000000000 --- a/keyboards/binepad/bnr1/info.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "manufacturer": "Binepad", - "keyboard_name": "BNR1", - "maintainer": "Binpad", - "debounce": 5, - "features": { - "bootmagic": true, - "command": false, - "console": false, - "extrakey": true, - "mousekey": true, - "nkro": false, - "encoder": true - }, - "url": "http://binepad.com", - "usb": { - "vid": "0x4249", - "pid": "0x4231", - "device_version": "1.0.0" - }, - "community_layouts": ["ortho_1x1"], - "layouts": { - "LAYOUT_ortho_1x1": { - "layout": [ - {"matrix": [0, 0], "x": 0, "y": 0, "w": 2, "h": 2} - ] - } - } -} diff --git a/keyboards/binepad/bnr1/keymaps/default/keymap.c b/keyboards/binepad/bnr1/keymaps/default/keymap.c deleted file mode 100644 index 974005afaa..0000000000 --- a/keyboards/binepad/bnr1/keymaps/default/keymap.c +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright 2022 Binepad (@binpad) */ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#include QMK_KEYBOARD_H - -enum { - _L0, - _L1 -} keyboard_layers; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_L0] = LAYOUT_ortho_1x1( - LT(_L1, KC_MUTE) - ), - - [_L1] = LAYOUT_ortho_1x1( - _______ - ) -}; - -#if defined(ENCODER_MAP_ENABLE) - -const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { - [_L0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, - [_L1] = { ENCODER_CCW_CW(KC_MS_WH_DOWN, KC_MS_WH_UP) } -}; - -#endif diff --git a/keyboards/binepad/bnr1/keymaps/default/rules.mk b/keyboards/binepad/bnr1/keymaps/default/rules.mk deleted file mode 100644 index 7f80bd39c6..0000000000 --- a/keyboards/binepad/bnr1/keymaps/default/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright 2022 Binepad (@binpad) -# SPDX-License-Identifier: GPL-2.0-or-later - -LTO_ENABLE = yes - -ENCODER_MAP_ENABLE = yes diff --git a/keyboards/binepad/bnr1/keymaps/via/config.h b/keyboards/binepad/bnr1/keymaps/via/config.h deleted file mode 100644 index ed7a62296f..0000000000 --- a/keyboards/binepad/bnr1/keymaps/via/config.h +++ /dev/null @@ -1,11 +0,0 @@ -/* Copyright 2022 Binepad (@binpad) */ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#pragma once - -#define TAPPING_TERM 175 - -#ifdef DYNAMIC_KEYMAP_LAYER_COUNT - #undef DYNAMIC_KEYMAP_LAYER_COUNT -#endif -#define DYNAMIC_KEYMAP_LAYER_COUNT 2 diff --git a/keyboards/binepad/bnr1/keymaps/via/keymap.c b/keyboards/binepad/bnr1/keymaps/via/keymap.c deleted file mode 100644 index 974005afaa..0000000000 --- a/keyboards/binepad/bnr1/keymaps/via/keymap.c +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright 2022 Binepad (@binpad) */ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#include QMK_KEYBOARD_H - -enum { - _L0, - _L1 -} keyboard_layers; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_L0] = LAYOUT_ortho_1x1( - LT(_L1, KC_MUTE) - ), - - [_L1] = LAYOUT_ortho_1x1( - _______ - ) -}; - -#if defined(ENCODER_MAP_ENABLE) - -const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { - [_L0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, - [_L1] = { ENCODER_CCW_CW(KC_MS_WH_DOWN, KC_MS_WH_UP) } -}; - -#endif diff --git a/keyboards/binepad/bnr1/keymaps/via/rules.mk b/keyboards/binepad/bnr1/keymaps/via/rules.mk deleted file mode 100644 index 746edfaa56..0000000000 --- a/keyboards/binepad/bnr1/keymaps/via/rules.mk +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 2022 Binepad (@binpad) -# SPDX-License-Identifier: GPL-2.0-or-later - -LTO_ENABLE = yes -VIA_ENABLE = yes - -ENCODER_MAP_ENABLE = yes diff --git a/keyboards/binepad/bnr1/readme.md b/keyboards/binepad/bnr1/readme.md deleted file mode 100755 index 5a8afe2be9..0000000000 --- a/keyboards/binepad/bnr1/readme.md +++ /dev/null @@ -1,23 +0,0 @@ -# BINEPAD BNR1 - -The BNR1 is a multifunction knob, which can be rotated, pressed, and rotated while pressed. - -* Keyboard Maintainer: [Binpad](https://github.com/binepad) -* Hardware Supported: **BNR1** & **BNR1 R2** *("V1" ft. ATMega32u4 MCU)* -* Hardware Availability: [Binepad.com](https://www.binepad.com/bnr1) - -Make example for this keyboard (after setting up your build environment): - - make binepad/bnr1/v1:default - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. -Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). - - -## Bootloader - -Enter the bootloader in 3 ways: - -* **Bootmagic reset**: Hold down the knob while plugging in the keyboard's USB cable -* **Physical reset button**: Briefly press the button on the underside of the PCB -* **Keycode in layout**: Press the key mapped to `QK_BOOT` *(or `RESET`)* if it is available diff --git a/keyboards/binepad/bnr1/rules.mk b/keyboards/binepad/bnr1/rules.mk deleted file mode 100755 index b1b1126ff4..0000000000 --- a/keyboards/binepad/bnr1/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -# This file intentionally left blank - -DEFAULT_FOLDER = binepad/bnr1/v1 diff --git a/keyboards/binepad/bnr1/v1/info.json b/keyboards/binepad/bnr1/v1/info.json deleted file mode 100644 index 44edbf87d3..0000000000 --- a/keyboards/binepad/bnr1/v1/info.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "bootloader": "atmel-dfu", - "processor": "atmega32u4", - "diode_direction": "COL2ROW", - "matrix_pins": { - "cols": ["B0"], - "rows": ["E6"] - }, - "encoder": { - "rotary": [ - { "pin_a": "D6", "pin_b": "D7" } - ] - } -} diff --git a/keyboards/binepad/bnr1/v1/rules.mk b/keyboards/binepad/bnr1/v1/rules.mk deleted file mode 100644 index 6e7633bfe0..0000000000 --- a/keyboards/binepad/bnr1/v1/rules.mk +++ /dev/null @@ -1 +0,0 @@ -# This file intentionally left blank |