Browse Source

Data-Driven Keyboard Conversions: K, Part 1 (#23556)

James Young 2 years ago
parent
commit
5ab3b27e5f
34 changed files with 105 additions and 169 deletions
  1. 5 0
      keyboards/kagizaraya/chidori/info.json
  2. 0 10
      keyboards/kagizaraya/chidori/rules.mk
  3. 7 0
      keyboards/kagizaraya/scythe/info.json
  4. 0 13
      keyboards/kagizaraya/scythe/rules.mk
  5. 7 0
      keyboards/kakunpc/angel17/alpha/keyboard.json
  6. 0 12
      keyboards/kakunpc/angel17/alpha/rules.mk
  7. 0 8
      keyboards/kakunpc/angel17/info.json
  8. 8 0
      keyboards/kakunpc/angel17/rev1/keyboard.json
  9. 0 12
      keyboards/kakunpc/angel17/rev1/rules.mk
  10. 7 0
      keyboards/kakunpc/angel64/alpha/keyboard.json
  11. 7 0
      keyboards/kakunpc/angel64/rev1/keyboard.json
  12. 0 13
      keyboards/kakunpc/angel64/rules.mk
  13. 7 0
      keyboards/kakunpc/business_card/alpha/keyboard.json
  14. 0 13
      keyboards/kakunpc/business_card/alpha/rules.mk
  15. 7 0
      keyboards/kakunpc/business_card/beta/keyboard.json
  16. 0 13
      keyboards/kakunpc/business_card/beta/rules.mk
  17. 0 13
      keyboards/kakunpc/business_card/rules.mk
  18. 7 0
      keyboards/kakunpc/choc_taro/info.json
  19. 0 13
      keyboards/kakunpc/choc_taro/rules.mk
  20. 7 0
      keyboards/kakunpc/suihankey/alpha/keyboard.json
  21. 0 1
      keyboards/kakunpc/suihankey/alpha/rules.mk
  22. 7 0
      keyboards/kakunpc/suihankey/rev1/keyboard.json
  23. 0 1
      keyboards/kakunpc/suihankey/rev1/rules.mk
  24. 0 14
      keyboards/kakunpc/suihankey/rules.mk
  25. 6 0
      keyboards/kakunpc/suihankey/split/alpha/keyboard.json
  26. 0 1
      keyboards/kakunpc/suihankey/split/alpha/rules.mk
  27. 6 0
      keyboards/kakunpc/suihankey/split/rev1/keyboard.json
  28. 0 1
      keyboards/kakunpc/suihankey/split/rev1/rules.mk
  29. 0 2
      keyboards/kakunpc/suihankey/split/rules.mk
  30. 8 0
      keyboards/kakunpc/thedogkeyboard/info.json
  31. 0 12
      keyboards/kakunpc/thedogkeyboard/rules.mk
  32. 9 0
      keyboards/kapl/rev1/keyboard.json
  33. 0 4
      keyboards/kapl/rev1/rules.mk
  34. 0 13
      keyboards/kapl/rules.mk

+ 5 - 0
keyboards/kagizaraya/chidori/info.json

@@ -11,6 +11,11 @@
     },
     "processor": "atmega328p",
     "bootloader": "usbasploader",
+    "features": {
+        "bootmagic": false,
+        "mousekey": false,
+        "extrakey": true
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [

+ 0 - 10
keyboards/kagizaraya/chidori/rules.mk

@@ -1,16 +1,6 @@
 # Build Options
 #   change yes to no to disable
 #
-BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no        # 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 = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
 CUSTOM_MATRIX = lite
 
 # project specific files

+ 7 - 0
keyboards/kagizaraya/scythe/info.json

@@ -46,6 +46,13 @@
     },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": true,
+        "mousekey": false,
+        "extrakey": true,
+        "backlight": true,
+        "rgblight": true
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [

+ 0 - 13
keyboards/kagizaraya/scythe/rules.mk

@@ -1,14 +1 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no        # 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 = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
 RGBLIGHT_SPLIT = yes

+ 7 - 0
keyboards/kakunpc/angel17/alpha/info.json → keyboards/kakunpc/angel17/alpha/keyboard.json

@@ -4,6 +4,13 @@
         "rows": ["D4", "C6", "D7", "E6"]
     },
     "diode_direction": "COL2ROW",
+    "features": {
+        "bootmagic": false,
+        "mousekey": true,
+        "extrakey": true,
+        "console": true,
+        "command": true
+    },
     "layouts": {
         "LAYOUT_numpad_5x4": {
             "layout": [

+ 0 - 12
keyboards/kakunpc/angel17/alpha/rules.mk

@@ -1,12 +0,0 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # Console for debug
-COMMAND_ENABLE = yes        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output

+ 0 - 8
keyboards/kakunpc/angel17/info.json

@@ -3,14 +3,6 @@
     "manufacturer": "kakunpc",
     "url": "https://kakunpc.booth.pm/",
     "maintainer": "kakunpc",
-    "features": {
-        "bootmagic": false,
-        "command": true,
-        "console": true,
-        "extrakey": true,
-        "mousekey": true,
-        "nkro": false
-    },
     "usb": {
         "vid": "0xFEED",
         "pid": "0x0000",

+ 8 - 0
keyboards/kakunpc/angel17/rev1/info.json → keyboards/kakunpc/angel17/rev1/keyboard.json

@@ -13,6 +13,14 @@
         "pin": "D3"
     },
     "diode_direction": "COL2ROW",
+    "features": {
+        "bootmagic": false,
+        "mousekey": true,
+        "extrakey": true,
+        "console": true,
+        "command": true,
+        "rgblight": true
+    },
     "layouts": {
         "LAYOUT_numpad_5x4": {
             "layout": [

+ 0 - 12
keyboards/kakunpc/angel17/rev1/rules.mk

@@ -1,12 +0,0 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # Console for debug
-COMMAND_ENABLE = yes        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output

+ 7 - 0
keyboards/kakunpc/angel64/alpha/keyboard.json

@@ -32,6 +32,13 @@
     },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": false,
+        "mousekey": true,
+        "extrakey": false,
+        "rgblight": true,
+        "oled": true
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [

+ 7 - 0
keyboards/kakunpc/angel64/rev1/keyboard.json

@@ -32,6 +32,13 @@
     },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": false,
+        "mousekey": true,
+        "extrakey": false,
+        "rgblight": true,
+        "oled": true
+    },
     "layouts": {
         "LAYOUT_all": {
             "layout": [

+ 0 - 13
keyboards/kakunpc/angel64/rules.mk

@@ -1,16 +1,3 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = no        # Audio control and System control
-CONSOLE_ENABLE = no         # Console for debug
-COMMAND_ENABLE = no         # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-OLED_ENABLE = yes
 CUSTOM_MATRIX = yes
 
 SRC += matrix.c

+ 7 - 0
keyboards/kakunpc/business_card/alpha/info.json → keyboards/kakunpc/business_card/alpha/keyboard.json

@@ -24,6 +24,13 @@
     "diode_direction": "COL2ROW",
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": false,
+        "mousekey": false,
+        "extrakey": false,
+        "rgblight": true,
+        "oled": true
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [

+ 0 - 13
keyboards/kakunpc/business_card/alpha/rules.mk

@@ -1,13 +0,0 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no       # Mouse keys
-EXTRAKEY_ENABLE = no       # Audio control and System control
-CONSOLE_ENABLE = no        # Console for debug
-COMMAND_ENABLE = no        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-OLED_ENABLE = yes

+ 7 - 0
keyboards/kakunpc/business_card/beta/info.json → keyboards/kakunpc/business_card/beta/keyboard.json

@@ -24,6 +24,13 @@
     "diode_direction": "COL2ROW",
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": false,
+        "mousekey": false,
+        "extrakey": false,
+        "rgblight": true,
+        "oled": true
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [

+ 0 - 13
keyboards/kakunpc/business_card/beta/rules.mk

@@ -1,13 +0,0 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no       # Mouse keys
-EXTRAKEY_ENABLE = no       # Audio control and System control
-CONSOLE_ENABLE = no        # Console for debug
-COMMAND_ENABLE = no        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-OLED_ENABLE = yes

+ 0 - 13
keyboards/kakunpc/business_card/rules.mk

@@ -1,14 +1 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no       # Mouse keys
-EXTRAKEY_ENABLE = no       # Audio control and System control
-CONSOLE_ENABLE = no        # Console for debug
-COMMAND_ENABLE = no        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
 DEFAULT_FOLDER = kakunpc/business_card/beta

+ 7 - 0
keyboards/kakunpc/choc_taro/info.json

@@ -10,6 +10,13 @@
     },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": true,
+        "mousekey": true,
+        "extrakey": true,
+        "console": true,
+        "command": true
+    },
     "layouts": {
         "LAYOUT_all": {
             "layout": [

+ 0 - 13
keyboards/kakunpc/choc_taro/rules.mk

@@ -1,15 +1,2 @@
-# 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 = yes        # Console for debug
-COMMAND_ENABLE = yes        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
 CUSTOM_MATRIX = lite
 SRC += matrix.c

+ 7 - 0
keyboards/kakunpc/suihankey/alpha/info.json → keyboards/kakunpc/suihankey/alpha/keyboard.json

@@ -36,6 +36,13 @@
     "diode_direction": "COL2ROW",
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": true,
+        "mousekey": false,
+        "extrakey": false,
+        "rgblight": true,
+        "oled": true
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [

+ 0 - 1
keyboards/kakunpc/suihankey/alpha/rules.mk

@@ -1 +0,0 @@
-RGBLIGHT_ENABLE = yes

+ 7 - 0
keyboards/kakunpc/suihankey/rev1/info.json → keyboards/kakunpc/suihankey/rev1/keyboard.json

@@ -36,6 +36,13 @@
     "diode_direction": "COL2ROW",
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": true,
+        "mousekey": false,
+        "extrakey": false,
+        "rgblight": true,
+        "oled": true
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [

+ 0 - 1
keyboards/kakunpc/suihankey/rev1/rules.mk

@@ -1 +0,0 @@
-RGBLIGHT_ENABLE = yes

+ 0 - 14
keyboards/kakunpc/suihankey/rules.mk

@@ -1,15 +1 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no       # Mouse keys
-EXTRAKEY_ENABLE = no       # Audio control and System control
-CONSOLE_ENABLE = no        # Console for debug
-COMMAND_ENABLE = no        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-OLED_ENABLE = yes
-
 DEFAULT_FOLDER = kakunpc/suihankey/rev1

+ 6 - 0
keyboards/kakunpc/suihankey/split/alpha/info.json → keyboards/kakunpc/suihankey/split/alpha/keyboard.json

@@ -13,6 +13,12 @@
         "rows": ["F4", "F5", "F6", "F7"]
     },
     "diode_direction": "COL2ROW",
+    "features": {
+        "bootmagic": true,
+        "mousekey": false,
+        "extrakey": false,
+        "rgblight": true
+    },
     "layout_aliases": {
         "LAYOUT": "LAYOUT_split_3x5_3"
     },

+ 0 - 1
keyboards/kakunpc/suihankey/split/alpha/rules.mk

@@ -1 +0,0 @@
-RGBLIGHT_ENABLE = yes

+ 6 - 0
keyboards/kakunpc/suihankey/split/rev1/info.json → keyboards/kakunpc/suihankey/split/rev1/keyboard.json

@@ -25,6 +25,12 @@
         "rows": ["D4", "C6", "D7", "E6", "B4"]
     },
     "diode_direction": "COL2ROW",
+    "features": {
+        "bootmagic": true,
+        "mousekey": false,
+        "extrakey": false,
+        "rgblight": true
+    },
     "layout_aliases": {
         "LAYOUT": "LAYOUT_split_3x5_3"
     },

+ 0 - 1
keyboards/kakunpc/suihankey/split/rev1/rules.mk

@@ -1 +0,0 @@
-RGBLIGHT_ENABLE = yes

+ 0 - 2
keyboards/kakunpc/suihankey/split/rules.mk

@@ -1,3 +1 @@
-OLED_ENABLE = no
-
 DEFAULT_FOLDER = kakunpc/suihankey/split/rev1

+ 8 - 0
keyboards/kakunpc/thedogkeyboard/info.json

@@ -20,6 +20,14 @@
     },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": false,
+        "mousekey": true,
+        "extrakey": true,
+        "console": true,
+        "command": true,
+        "rgblight": true
+    },
     "community_layouts": [
         "fullsize_ansi"
     ],

+ 0 - 12
keyboards/kakunpc/thedogkeyboard/rules.mk

@@ -1,15 +1,3 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes       # Mouse keys
-EXTRAKEY_ENABLE = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # Console for debug
-COMMAND_ENABLE = yes        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
 CUSTOM_MATRIX = yes
 
 SRC += matrix.c

+ 9 - 0
keyboards/kapl/rev1/info.json → keyboards/kapl/rev1/keyboard.json

@@ -72,6 +72,15 @@
   },
   "processor": "atmega32u4",
   "bootloader": "caterina",
+  "features": {
+    "bootmagic": false,
+    "mousekey": true,
+    "extrakey": true,
+    "rgb_matrix": true
+  },
+  "build": {
+    "lto": true
+  },
   "layouts": {
     "LAYOUT": {
       "layout": [

+ 0 - 4
keyboards/kapl/rev1/rules.mk

@@ -1,4 +0,0 @@
-# Do not enable RGB_MATRIX_ENABLE together with RGBLIGHT_ENABLE
-RGB_MATRIX_ENABLE = yes
-
-LTO_ENABLE = yes

+ 0 - 13
keyboards/kapl/rules.mk

@@ -1,14 +1 @@
-# Build Options
-#   change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no      # 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 = no           # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no       # Enable keyboard RGB underglow
-AUDIO_ENABLE = no          # Audio output
-
 DEFAULT_FOLDER = kapl/rev1