Browse Source

Move keyboard features into info.json

pull/22707/head
Hayley Hughes 2 months ago
parent
commit
98127f6171
No known key found for this signature in database GPG Key ID: D500C1F8FAAF6818
3 changed files with 11 additions and 23 deletions
  1. +0
    -7
      keyboards/ducky/one2sf/1967st/config.h
  2. +11
    -0
      keyboards/ducky/one2sf/1967st/info.json
  3. +0
    -16
      keyboards/ducky/one2sf/1967st/rules.mk

+ 0
- 7
keyboards/ducky/one2sf/1967st/config.h View File

@ -18,10 +18,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define GPIO_INPUT_PIN_DELAY (NUC123_HCLK / 6 / 1000000L)
<<<<<<< HEAD
=======
#define ENABLE_RGB_MATRIX_BREATHING
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
>>>>>>> 41dc4aefcf (Move led driver into the keyboard)

+ 11
- 0
keyboards/ducky/one2sf/1967st/info.json View File

@ -9,9 +9,19 @@
"force_nkro": true
},
"features": {
"bootmagic": true,
"dip_switch": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgb_matrix": true
},
"rgb_matrix": {
"animations": {
"breathing": true,
"cycle_left_right": true,
"typing_heatmap": true
},
"driver": "custom",
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
@ -56,6 +66,7 @@
{"matrix": [2, 9], "x": 144, "y": 32, "flags": 4},
{"matrix": [2, 10], "x": 160, "y": 32, "flags": 4},
{"matrix": [2, 11], "x": 176, "y": 32, "flags": 4},
{"matrix": [2, 12], "x": 192, "y": 32, "flags": 4},
{"matrix": [2, 13], "x": 208, "y": 32, "flags": 4},
{"matrix": [2, 14], "x": 224, "y": 32, "flags": 4},
{"matrix": [3, 0], "x": 0, "y": 48, "flags": 5},


+ 0
- 16
keyboards/ducky/one2sf/1967st/rules.mk View File

@ -16,20 +16,4 @@ MCU = cortex-m0
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
ARMV = 6
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
DIP_SWITCH_ENABLE = yes
RGB_MATRIX_ENABLE = yes
SRC += rgb_matrix_drivers.c

Loading…
Cancel
Save