qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

keyboard.json (8789B)


      1 {
      2     "keyboard_name": "BM40 Hotswap RGB",
      3     "manufacturer": "KPRepublic",
      4     "maintainer": "qmk",
      5     "features": {
      6         "bootmagic": true,
      7         "mousekey": true,
      8         "extrakey": true,
      9         "rgblight": true,
     10         "rgb_matrix": true,
     11         "tri_layer": true,
     12         "nkro": false
     13     },
     14     "build": {
     15         "lto": true
     16     },
     17     "usb": {
     18         "vid": "0x4B50",
     19         "pid": "0x3430",
     20         "device_version": "0.0.2"
     21     },
     22     "ws2812": {
     23         "pin": "B0"
     24     },
     25     "rgblight": {
     26         "led_count": 6,
     27         "max_brightness": 150,
     28         "animations": {
     29             "knight": true,
     30             "rainbow_swirl": true
     31         }
     32     },
     33     "rgb_matrix": {
     34         "driver": "is31fl3733",
     35         "max_brightness": 150,
     36         "animations": {
     37           "alphas_mods": true,
     38           "gradient_up_down": true,
     39           "gradient_left_right": true,
     40           "breathing": true,
     41           "band_sat": true,
     42           "band_val": true,
     43           "band_pinwheel_sat": true,
     44           "band_pinwheel_val": true,
     45           "band_spiral_sat": true,
     46           "band_spiral_val": true,
     47           "cycle_all": true,
     48           "cycle_left_right": true,
     49           "cycle_up_down": true,
     50           "rainbow_moving_chevron": true,
     51           "cycle_out_in": true,
     52           "cycle_out_in_dual": true,
     53           "cycle_pinwheel": true,
     54           "cycle_spiral": true,
     55           "dual_beacon": true,
     56           "rainbow_beacon": true,
     57           "rainbow_pinwheels": true,
     58           "raindrops": true,
     59           "jellybean_raindrops": true,
     60           "hue_breathing": true,
     61           "hue_pendulum": true,
     62           "hue_wave": true,
     63           "solid_reactive_simple": true,
     64           "solid_reactive": true,
     65           "solid_reactive_wide": true,
     66           "solid_reactive_multiwide": true,
     67           "solid_reactive_cross": true,
     68           "solid_reactive_multicross": true,
     69           "solid_reactive_nexus": true,
     70           "solid_reactive_multinexus": true,
     71           "splash": true,
     72           "multisplash": true,
     73           "solid_splash": true,
     74           "solid_multisplash": true
     75         },
     76         "layout": [
     77             {"matrix": [0, 0],  "x": 0,    "y": 0, "flags": 1},
     78             {"matrix": [0, 1],  "x": 20,   "y": 0, "flags": 4},
     79             {"matrix": [0, 2],  "x": 40,   "y": 0, "flags": 4},
     80             {"matrix": [0, 3],  "x": 61,   "y": 0, "flags": 4},
     81             {"matrix": [0, 4],  "x": 81,   "y": 0, "flags": 4},
     82             {"matrix": [0, 5],  "x": 101,  "y": 0, "flags": 4},
     83             {"matrix": [0, 6],  "x": 122,  "y": 0, "flags": 4},
     84             {"matrix": [0, 7],  "x": 142,  "y": 0, "flags": 4},
     85             {"matrix": [0, 8],  "x": 162,  "y": 0, "flags": 4},
     86             {"matrix": [0, 9],  "x": 183,  "y": 0, "flags": 4},
     87             {"matrix": [0, 10], "x": 203,  "y": 0, "flags": 4},
     88             {"matrix": [0, 11], "x": 224,  "y": 0, "flags": 1},
     89             {"matrix": [1, 0],  "x": 0,    "y": 21, "flags": 1},
     90             {"matrix": [1, 1],  "x": 20,   "y": 21, "flags": 4},
     91             {"matrix": [1, 2],  "x": 40,   "y": 21, "flags": 4},
     92             {"matrix": [1, 3],  "x": 61,   "y": 21, "flags": 4},
     93             {"matrix": [1, 4],  "x": 81,   "y": 21, "flags": 4},
     94             {"matrix": [1, 5],  "x": 101,  "y": 21, "flags": 4},
     95             {"matrix": [1, 6],  "x": 122,  "y": 21, "flags": 4},
     96             {"matrix": [1, 7],  "x": 142,  "y": 21, "flags": 4},
     97             {"matrix": [1, 8],  "x": 162,  "y": 21, "flags": 4},
     98             {"matrix": [1, 9],  "x": 183,  "y": 21, "flags": 4},
     99             {"matrix": [1, 10], "x": 203,  "y": 21, "flags": 4},
    100             {"matrix": [1, 11], "x": 224,  "y": 21, "flags": 1},
    101             {"matrix": [2, 0],  "x": 0,    "y": 42, "flags": 1},
    102             {"matrix": [2, 1],  "x": 20,   "y": 42, "flags": 4},
    103             {"matrix": [2, 2],  "x": 40,   "y": 42, "flags": 4},
    104             {"matrix": [2, 3],  "x": 61,   "y": 42, "flags": 4},
    105             {"matrix": [2, 4],  "x": 81,   "y": 42, "flags": 4},
    106             {"matrix": [2, 5],  "x": 101,  "y": 42, "flags": 4},
    107             {"matrix": [2, 6],  "x": 122,  "y": 42, "flags": 4},
    108             {"matrix": [2, 7],  "x": 142,  "y": 42, "flags": 4},
    109             {"matrix": [2, 8],  "x": 162,  "y": 42, "flags": 4},
    110             {"matrix": [2, 9],  "x": 183,  "y": 42, "flags": 4},
    111             {"matrix": [2, 10], "x": 203,  "y": 42, "flags": 4},
    112             {"matrix": [2, 11], "x": 224,  "y": 42, "flags": 1},
    113             {"matrix": [3, 0],  "x": 0,    "y": 64, "flags": 1},
    114             {"matrix": [3, 1],  "x": 20,   "y": 64, "flags": 1},
    115             {"matrix": [3, 2],  "x": 40,   "y": 64, "flags": 1},
    116             {"matrix": [3, 3],  "x": 61,   "y": 64, "flags": 1},
    117             {"matrix": [3, 4],  "x": 81,   "y": 64, "flags": 1},
    118             {"matrix": [3, 5],  "x": 111,  "y": 64, "flags": 1},
    119             {"matrix": [3, 7],  "x": 142,  "y": 64, "flags": 1},
    120             {"matrix": [3, 8],  "x": 162,  "y": 64, "flags": 1},
    121             {"matrix": [3, 9],  "x": 183,  "y": 64, "flags": 1},
    122             {"matrix": [3, 10], "x": 203,  "y": 64, "flags": 1},
    123             {"matrix": [3, 11], "x": 224,  "y": 64, "flags": 1}
    124         ],
    125         "sleep": true
    126     },
    127     "matrix_pins": {
    128         "cols": ["B2", "B3", "D5", "D3", "D2", "B7", "F0", "B4", "B5", "B6", "C6", "C7"],
    129         "rows": ["D7", "F7", "F6", "F5"]
    130     },
    131     "diode_direction": "ROW2COL",
    132     "processor": "atmega32u4",
    133     "bootloader": "atmel-dfu",
    134     "community_layouts": ["planck_mit"],
    135     "layout_aliases": {
    136         "LAYOUT_planck_mit": "LAYOUT_ortho_4x12_1x2uC"
    137     },
    138     "layouts": {
    139         "LAYOUT_ortho_4x12_1x2uC": {
    140             "layout": [
    141                 {"label":"K00", "matrix": [0, 0], "x":0, "y":0},
    142                 {"label":"K01", "matrix": [0, 1], "x":1, "y":0},
    143                 {"label":"K02", "matrix": [0, 2], "x":2, "y":0},
    144                 {"label":"K03", "matrix": [0, 3], "x":3, "y":0},
    145                 {"label":"K04", "matrix": [0, 4], "x":4, "y":0},
    146                 {"label":"K05", "matrix": [0, 5], "x":5, "y":0},
    147                 {"label":"K06", "matrix": [0, 6], "x":6, "y":0},
    148                 {"label":"K07", "matrix": [0, 7], "x":7, "y":0},
    149                 {"label":"K08", "matrix": [0, 8], "x":8, "y":0},
    150                 {"label":"K09", "matrix": [0, 9], "x":9, "y":0},
    151                 {"label":"K0A", "matrix": [0, 10], "x":10, "y":0},
    152                 {"label":"K0B", "matrix": [0, 11], "x":11, "y":0},
    153                 {"label":"K10", "matrix": [1, 0], "x":0, "y":1},
    154                 {"label":"K11", "matrix": [1, 1], "x":1, "y":1},
    155                 {"label":"K12", "matrix": [1, 2], "x":2, "y":1},
    156                 {"label":"K13", "matrix": [1, 3], "x":3, "y":1},
    157                 {"label":"K14", "matrix": [1, 4], "x":4, "y":1},
    158                 {"label":"K15", "matrix": [1, 5], "x":5, "y":1},
    159                 {"label":"K16", "matrix": [1, 6], "x":6, "y":1},
    160                 {"label":"K17", "matrix": [1, 7], "x":7, "y":1},
    161                 {"label":"K18", "matrix": [1, 8], "x":8, "y":1},
    162                 {"label":"K19", "matrix": [1, 9], "x":9, "y":1},
    163                 {"label":"K1A", "matrix": [1, 10], "x":10, "y":1},
    164                 {"label":"K1B", "matrix": [1, 11], "x":11, "y":1},
    165                 {"label":"K20", "matrix": [2, 0], "x":0, "y":2},
    166                 {"label":"K21", "matrix": [2, 1], "x":1, "y":2},
    167                 {"label":"K22", "matrix": [2, 2], "x":2, "y":2},
    168                 {"label":"K23", "matrix": [2, 3], "x":3, "y":2},
    169                 {"label":"K24", "matrix": [2, 4], "x":4, "y":2},
    170                 {"label":"K25", "matrix": [2, 5], "x":5, "y":2},
    171                 {"label":"K26", "matrix": [2, 6], "x":6, "y":2},
    172                 {"label":"K27", "matrix": [2, 7], "x":7, "y":2},
    173                 {"label":"K28", "matrix": [2, 8], "x":8, "y":2},
    174                 {"label":"K29", "matrix": [2, 9], "x":9, "y":2},
    175                 {"label":"K2A", "matrix": [2, 10], "x":10, "y":2},
    176                 {"label":"K2B", "matrix": [2, 11], "x":11, "y":2},
    177                 {"label":"K30", "matrix": [3, 0], "x":0, "y":3},
    178                 {"label":"K31", "matrix": [3, 1], "x":1, "y":3},
    179                 {"label":"K32", "matrix": [3, 2], "x":2, "y":3},
    180                 {"label":"K33", "matrix": [3, 3], "x":3, "y":3},
    181                 {"label":"K34", "matrix": [3, 4], "x":4, "y":3},
    182                 {"label":"K35", "matrix": [3, 5], "x":5, "y":3, "w":2},
    183                 {"label":"K37", "matrix": [3, 7], "x":7, "y":3},
    184                 {"label":"K38", "matrix": [3, 8], "x":8, "y":3},
    185                 {"label":"K39", "matrix": [3, 9], "x":9, "y":3},
    186                 {"label":"K3A", "matrix": [3, 10], "x":10, "y":3},
    187                 {"label":"K3B", "matrix": [3, 11], "x":11, "y":3}
    188             ]
    189         }
    190     }
    191 }