Browse Source

Data-Driven Keyboard Conversions: G (#23522)

James Young 2 years ago
parent
commit
130a2a31a6
34 changed files with 145 additions and 216 deletions
  1. 7 0
      keyboards/gboards/ergotaco/info.json
  2. 0 3
      keyboards/gboards/ergotaco/rules.mk
  3. 11 0
      keyboards/gboards/georgi/info.json
  4. 1 15
      keyboards/gboards/georgi/rules.mk
  5. 7 0
      keyboards/gboards/gergo/info.json
  6. 0 4
      keyboards/gboards/gergo/rules.mk
  7. 7 0
      keyboards/gboards/gergoplex/info.json
  8. 0 9
      keyboards/gboards/gergoplex/rules.mk
  9. 7 1
      keyboards/giabalanai/keyboard.json
  10. 0 9
      keyboards/giabalanai/rules.mk
  11. 5 0
      keyboards/gl516/a52gl/info.json
  12. 1 14
      keyboards/gl516/a52gl/rules.mk
  13. 6 0
      keyboards/gl516/j73gl/info.json
  14. 1 14
      keyboards/gl516/j73gl/rules.mk
  15. 7 0
      keyboards/gl516/n51gl/info.json
  16. 1 14
      keyboards/gl516/n51gl/rules.mk
  17. 8 0
      keyboards/glenpickle/chimera_ergo/info.json
  18. 0 12
      keyboards/glenpickle/chimera_ergo/rules.mk
  19. 8 0
      keyboards/glenpickle/chimera_ls/info.json
  20. 0 12
      keyboards/glenpickle/chimera_ls/rules.mk
  21. 8 0
      keyboards/glenpickle/chimera_ortho/info.json
  22. 0 12
      keyboards/glenpickle/chimera_ortho/rules.mk
  23. 9 0
      keyboards/glenpickle/chimera_ortho_plus/info.json
  24. 0 13
      keyboards/glenpickle/chimera_ortho_plus/rules.mk
  25. 16 1
      keyboards/gmmk/numpad/info.json
  26. 0 20
      keyboards/gmmk/numpad/rules.mk
  27. 7 0
      keyboards/gon/nerd60/info.json
  28. 0 13
      keyboards/gon/nerd60/rules.mk
  29. 7 0
      keyboards/gon/nerdtkl/info.json
  30. 0 13
      keyboards/gon/nerdtkl/rules.mk
  31. 13 1
      keyboards/gopolar/gg86/info.json
  32. 0 23
      keyboards/gopolar/gg86/rules.mk
  33. 8 0
      keyboards/gray_studio/cod67/info.json
  34. 0 13
      keyboards/gray_studio/cod67/rules.mk

+ 7 - 0
keyboards/gboards/ergotaco/info.json

@@ -10,6 +10,13 @@
     },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": false,
+        "mousekey": false,
+        "extrakey": true,
+        "console": true,
+        "command": true
+    },
     "tapping": {
         "toggle": 1
     },

+ 0 - 3
keyboards/gboards/ergotaco/rules.mk

@@ -1,7 +1,4 @@
 CUSTOM_MATRIX 		= yes
-EXTRAKEY_ENABLE		= yes
-CONSOLE_ENABLE  	= yes
-COMMAND_ENABLE		= yes
 
 # A bunch of stuff that you shouldn't touch unless you
 # know what you're doing.

+ 11 - 0
keyboards/gboards/georgi/info.json

@@ -11,6 +11,17 @@
     },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": false,
+        "mousekey": false,
+        "extrakey": true,
+        "console": true,
+        "nkro": true,
+        "steno": true
+    },
+    "build": {
+        "lto": true
+    },
     "tapping": {
         "toggle": 2
     },

+ 1 - 15
keyboards/gboards/georgi/rules.mk

@@ -1,18 +1,4 @@
-# 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 = yes        # 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
 CUSTOM_MATRIX = yes
-STENO_ENABLE = yes
-LTO_ENABLE = yes
 
 SRC += matrix.c
-I2C_DRIVER_REQUIRED = yes
+I2C_DRIVER_REQUIRED = yes

+ 7 - 0
keyboards/gboards/gergo/info.json

@@ -16,6 +16,13 @@
     },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": true,
+        "mousekey": false,
+        "extrakey": true,
+        "console": true,
+        "command": true
+    },
     "tapping": {
         "toggle": 1
     },

+ 0 - 4
keyboards/gboards/gergo/rules.mk

@@ -2,10 +2,6 @@
 #   change yes to no to disable
 #
 CUSTOM_MATRIX 		= yes
-EXTRAKEY_ENABLE		= yes
-CONSOLE_ENABLE  	= yes
-COMMAND_ENABLE		= yes
-BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
 
 SRC += matrix.c
 I2C_DRIVER_REQUIRED = yes

+ 7 - 0
keyboards/gboards/gergoplex/info.json

@@ -13,6 +13,13 @@
     },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": true,
+        "mousekey": true,
+        "extrakey": true,
+        "command": true,
+        "nkro": true
+    },
     "community_layouts": ["split_3x5_3"],
     "layouts": {
         "LAYOUT_split_3x5_3": {

+ 0 - 9
keyboards/gboards/gergoplex/rules.mk

@@ -1,15 +1,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 = yes        # 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
 CUSTOM_MATRIX = yes
 
 SRC += matrix.c

+ 7 - 1
keyboards/giabalanai/info.json → keyboards/giabalanai/keyboard.json

@@ -36,7 +36,13 @@
         "bootmagic": false,
         "console": false,
         "mousekey": false,
-        "nkro": false
+        "nkro": false,
+        "command": false,
+        "backlight": false,
+        "rgb_matrix": false
+    },
+    "build": {
+        "lto": true
     },
     "encoder": {
         "rotary": []

+ 0 - 9
keyboards/giabalanai/rules.mk

@@ -1,9 +0,0 @@
-# Build Options
-#   change yes to no to disable
-#
-COMMAND_ENABLE = no         # Commands for debug and configuration
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-# RGB_MATRIX_ENABLE is not suitable for giabalanai keyboard on the right side (there are dulpicate keys).
-RGB_MATRIX_ENABLE = no      # Use RGB matrix (Don't enable this when RGBLIGHT_ENABLE is used.)
-
-LTO_ENABLE = yes

+ 5 - 0
keyboards/gl516/a52gl/info.json

@@ -10,6 +10,11 @@
     },
     "processor": "atmega32u4",
     "bootloader": "caterina",
+    "features": {
+        "bootmagic": true,
+        "mousekey": true,
+        "extrakey": true
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [

+ 1 - 14
keyboards/gl516/a52gl/rules.mk

@@ -1,16 +1,3 @@
-# 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 = 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
+SRC += matrix.c

+ 6 - 0
keyboards/gl516/j73gl/info.json

@@ -28,6 +28,12 @@
     },
     "processor": "atmega32u4",
     "bootloader": "caterina",
+    "features": {
+        "bootmagic": true,
+        "mousekey": true,
+        "extrakey": true,
+        "rgblight": true
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [

+ 1 - 14
keyboards/gl516/j73gl/rules.mk

@@ -1,16 +1,3 @@
-# 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 = 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 = lite
 
-SRC += matrix.c
+SRC += matrix.c

+ 7 - 0
keyboards/gl516/n51gl/info.json

@@ -33,6 +33,13 @@
     },
     "processor": "atmega32u4",
     "bootloader": "caterina",
+    "features": {
+        "bootmagic": true,
+        "mousekey": true,
+        "extrakey": true,
+        "rgblight": true,
+        "encoder": true
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [

+ 1 - 14
keyboards/gl516/n51gl/rules.mk

@@ -1,16 +1,3 @@
-# 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 = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-ENCODER_ENABLE = yes
 CUSTOM_MATRIX = lite
 
-SRC += matrix.c
+SRC += matrix.c

+ 8 - 0
keyboards/glenpickle/chimera_ergo/info.json

@@ -10,6 +10,14 @@
   },
   "processor": "atmega32u4",
   "bootloader": "caterina",
+  "features": {
+    "bootmagic": false,
+    "mousekey": true,
+    "extrakey": true,
+    "console": true,
+    "command": true,
+    "nkro": true
+  },
   "layouts": {
     "LAYOUT": {
       "layout": [

+ 0 - 12
keyboards/glenpickle/chimera_ergo/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 = yes           # 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

+ 8 - 0
keyboards/glenpickle/chimera_ls/info.json

@@ -10,6 +10,14 @@
   },
   "processor": "atmega32u4",
   "bootloader": "caterina",
+  "features": {
+    "bootmagic": false,
+    "mousekey": true,
+    "extrakey": true,
+    "console": true,
+    "command": true,
+    "nkro": true
+  },
   "community_layouts": ["ortho_4x12"],
   "layouts": {
     "LAYOUT_ortho_4x12": {

+ 0 - 12
keyboards/glenpickle/chimera_ls/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 = yes           # 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

+ 8 - 0
keyboards/glenpickle/chimera_ortho/info.json

@@ -9,6 +9,14 @@
   },
   "processor": "atmega32u4",
   "bootloader": "caterina",
+  "features": {
+    "bootmagic": false,
+    "mousekey": true,
+    "extrakey": true,
+    "console": true,
+    "command": true,
+    "nkro": true
+  },
   "layouts": {
     "LAYOUT": {
       "layout": [

+ 0 - 12
keyboards/glenpickle/chimera_ortho/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 = yes           # 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

+ 9 - 0
keyboards/glenpickle/chimera_ortho_plus/info.json

@@ -9,6 +9,15 @@
   },
   "processor": "atmega32u4",
   "bootloader": "caterina",
+  "features": {
+    "bootmagic": false,
+    "mousekey": true,
+    "extrakey": true,
+    "console": true,
+    "command": true,
+    "nkro": true,
+    "unicode": true
+  },
   "layouts": {
     "LAYOUT": {
       "layout": [

+ 0 - 13
keyboards/glenpickle/chimera_ortho_plus/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 = yes       # Audio control and System control
-CONSOLE_ENABLE = yes        # Console for debug
-COMMAND_ENABLE = yes        # 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
-UNICODE_ENABLE = yes
 CUSTOM_MATRIX = lite
 
 # project specific files

+ 16 - 1
keyboards/gmmk/numpad/info.json

@@ -6,7 +6,10 @@
     "usb": {
         "vid": "0x320F",
         "pid": "0x5088",
-        "device_version": "0.0.1"
+        "device_version": "0.0.1",
+        "shared_endpoint": {
+            "keyboard": true
+        }
     },
     "eeprom": {
         "driver": "wear_leveling",
@@ -70,6 +73,18 @@
     },
     "processor": "WB32F3G71",
     "bootloader": "wb32-dfu",
+    "features": {
+        "bootmagic": true,
+        "mousekey": true,
+        "extrakey": true,
+        "nkro": true,
+        "rgb_matrix": true,
+        "encoder": true,
+        "midi": true
+    },
+    "build": {
+        "lto": true
+    },
     "diode_direction": "ROW2COL",
     "matrix_pins": {
         "rows": ["A3", "A4", "A5", "A6", "A7"],

+ 0 - 20
keyboards/gmmk/numpad/rules.mk

@@ -1,23 +1,3 @@
-# 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
-ENCODER_ENABLE = yes
-KEYBOARD_SHARED_EP = yes
-MIDI_ENABLE = yes
-
-RGB_MATRIX_ENABLE = yes
-
-LTO_ENABLE = yes
-
 ANALOG_DRIVER_REQUIRED = yes
 
 SRC += matrix.c

+ 7 - 0
keyboards/gon/nerd60/info.json

@@ -21,6 +21,13 @@
     },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": false,
+        "mousekey": true,
+        "extrakey": true,
+        "command": true,
+        "nkro": true
+    },
     "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_iso", "60_iso_split_bs_rshift"],
     "layouts": {
         "LAYOUT_all": {

+ 0 - 13
keyboards/gon/nerd60/rules.mk

@@ -1,15 +1,2 @@
 # Processor frequency
 F_CPU = 8000000
-
-# 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 = yes        # 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

+ 7 - 0
keyboards/gon/nerdtkl/info.json

@@ -21,6 +21,13 @@
     },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": false,
+        "mousekey": true,
+        "extrakey": true,
+        "command": true,
+        "nkro": true
+    },
     "layouts": {
         "LAYOUT_tkl": {
             "layout": [

+ 0 - 13
keyboards/gon/nerdtkl/rules.mk

@@ -1,15 +1,2 @@
 # Processor frequency
 F_CPU = 8000000
-
-# 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 = yes        # 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

+ 13 - 1
keyboards/gopolar/gg86/info.json

@@ -7,7 +7,8 @@
         "vid": "0x0007",
         "pid": "0x0007",
         "device_version": "0.0.1",
-        "force_nkro": true
+        "force_nkro": true,
+        "no_startup_check": true
     },
     "ws2812": {
         "pin": "E2"
@@ -64,6 +65,17 @@
     "diode_direction": "COL2ROW",
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
+    "features": {
+        "bootmagic": true,
+        "mousekey": false,
+        "extrakey": true,
+        "nkro": true,
+        "rgb_matrix": true,
+        "oled": true
+    },
+    "build": {
+        "lto": true
+    },
     "layouts": {
         "LAYOUT_all": {
             "layout": [

+ 0 - 23
keyboards/gopolar/gg86/rules.mk

@@ -1,24 +1 @@
 SRC += lib/logo.c
-
-# 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 = yes           # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
-AUDIO_ENABLE = no           # Audio output
-
-# Additional thing to reduce compiled size
-LTO_ENABLE = yes
-NO_USB_STARTUP_CHECK = yes
-
-# RGB Matrix enabled
-RGB_MATRIX_ENABLE = yes
-
-# OLED enabled
-OLED_ENABLE = yes

+ 8 - 0
keyboards/gray_studio/cod67/info.json

@@ -41,6 +41,14 @@
   },
   "processor": "atmega32u4",
   "bootloader": "lufa-ms",
+  "features": {
+    "bootmagic": false,
+    "mousekey": true,
+    "extrakey": true,
+    "command": true,
+    "backlight": true,
+    "rgblight": true
+  },
   "layouts": {
     "LAYOUT": {
       "layout": [

+ 0 - 13
keyboards/gray_studio/cod67/rules.mk

@@ -1,15 +1,2 @@
 # This board uses the older unsafe 6k version of lufa-ms
 BOOTLOADER_SIZE = 6144
-
-# 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 = yes        # Commands for debug and configuration
-NKRO_ENABLE = no            # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes       # Enable RGB underglow
-AUDIO_ENABLE = no           # Audio output