Data-Driven Keyboard Conversions: 0-9 (#23357)

This commit is contained in:
James Young
2024-03-30 06:51:57 -07:00
committed by GitHub
parent 831deac212
commit 76bd5142cf
116 changed files with 630 additions and 1277 deletions

View File

@ -1,39 +0,0 @@
/*
Copyright 2021 0xC7
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

View File

@ -20,6 +20,12 @@
"mousekey": false, "mousekey": false,
"nkro": false "nkro": false
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "F7", "F6", "F5", "F4", "F1", "F0"], "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "F7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["B0", "B1", "B2", "B3", "B7"] "rows": ["B0", "B1", "B2", "B3", "B7"]

View File

@ -19,10 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* default setup after eeprom reset */ /* default setup after eeprom reset */
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2 #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* Oled Size */ /* Oled Size */
#define OLED_DISPLAY_128X64 #define OLED_DISPLAY_128X64
#define OLED_FONT_END 255 #define OLED_FONT_END 255

View File

@ -19,6 +19,10 @@
] ]
}, },
"qmk": { "qmk": {
"locking": {
"enabled": true,
"resync": true
},
"tap_keycode_delay": 10 "tap_keycode_delay": 10
}, },
"qmk_lufa_bootloader": { "qmk_lufa_bootloader": {
@ -80,9 +84,11 @@
{"x": 0, "y": 0, "matrix": [0, 0]}, {"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]}, {"x": 1, "y": 0, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]}, {"x": 2, "y": 0, "matrix": [0, 2]},
{"x": 0, "y": 1, "matrix": [1, 0]}, {"x": 0, "y": 1, "matrix": [1, 0]},
{"x": 1, "y": 1, "matrix": [1, 1]}, {"x": 1, "y": 1, "matrix": [1, 1]},
{"x": 2, "y": 1, "matrix": [1, 2]}, {"x": 2, "y": 1, "matrix": [1, 2]},
{"x": 0, "y": 2, "matrix": [2, 0]}, {"x": 0, "y": 2, "matrix": [2, 0]},
{"x": 1, "y": 2, "matrix": [2, 1]}, {"x": 1, "y": 2, "matrix": [2, 1]},
{"x": 2, "y": 2, "matrix": [2, 2]} {"x": 2, "y": 2, "matrix": [2, 2]}

View File

@ -16,11 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#pragma once #pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* oled custom font */ /* oled custom font */
#define OLED_FONT_END 255 #define OLED_FONT_END 255
#define OLED_FONT_H "gfxfont.c" #define OLED_FONT_H "gfxfont.c"

View File

@ -32,6 +32,10 @@
] ]
}, },
"qmk": { "qmk": {
"locking": {
"enabled": true,
"resync": true
},
"tap_keycode_delay": 10 "tap_keycode_delay": 10
}, },
"processor": "atmega328p", "processor": "atmega328p",

View File

@ -1,39 +0,0 @@
/*
Copyright 2018 MechMerlin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

View File

@ -31,6 +31,12 @@
"levels": 5, "levels": 5,
"breathing": true "breathing": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"rgblight": { "rgblight": {
"saturation_steps": 8, "saturation_steps": 8,
"brightness_steps": 8, "brightness_steps": 8,

View File

@ -1,25 +0,0 @@
/*
Copyright 2019 Bubnick
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

View File

@ -26,6 +26,12 @@
"rows": ["B3", "B2", "B1", "B0", "D4"] "rows": ["B3", "B2", "B1", "B0", "D4"]
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"backlight": { "backlight": {
"pin": "B7" "pin": "B7"
}, },

View File

@ -1,7 +0,0 @@
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

View File

@ -18,6 +18,12 @@
"nkro": true, "nkro": true,
"rgblight": true "rgblight": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4"], "cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4"],
"rows": ["D0", "D1", "D2", "D3", "D5"] "rows": ["D0", "D1", "D2", "D3", "D5"]

View File

@ -1,9 +0,0 @@
// Copyright 2022 ziptyze (@ziptyze)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

View File

@ -24,6 +24,12 @@
"nkro": false, "nkro": false,
"rgb_matrix": true "rgb_matrix": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"ws2812": { "ws2812": {
"pin": "GP17", "pin": "GP17",
"driver": "vendor" "driver": "vendor"

View File

@ -1,9 +0,0 @@
// Copyright 2022 ziptyze (@ziptyze)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

View File

@ -23,6 +23,12 @@
"nkro": false, "nkro": false,
"rgb_matrix": true "rgb_matrix": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"ws2812": { "ws2812": {
"pin": "GP15", "pin": "GP15",
"driver": "vendor" "driver": "vendor"

View File

@ -1,9 +0,0 @@
// Copyright 2022 ziptyze (@ziptyze)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

View File

@ -23,6 +23,12 @@
"nkro": false, "nkro": false,
"rgb_matrix": true "rgb_matrix": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"ws2812": { "ws2812": {
"pin": "GP19", "pin": "GP19",
"driver": "vendor" "driver": "vendor"

View File

@ -1,40 +0,0 @@
/*
Copyright 2019 MechMerlin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

View File

@ -86,6 +86,12 @@
"nkro": false, "nkro": false,
"rgb_matrix": true "rgb_matrix": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["D4", "C6", "F6", "F7"], "cols": ["D4", "C6", "F6", "F7"],
"rows": ["D1", "D0", "F4", "F5"] "rows": ["D1", "D0", "F4", "F5"]

View File

@ -18,11 +18,6 @@
#define MOUSEKEY_MOVE_DELTA 25 #define MOUSEKEY_MOVE_DELTA 25
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* /*
* Feature disable options * Feature disable options
* These options are also useful to firmware size reduction. * These options are also useful to firmware size reduction.

View File

@ -59,6 +59,12 @@
"nkro": false, "nkro": false,
"rgb_matrix": true "rgb_matrix": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["D5", "D6", "C2", "D0"], "cols": ["D5", "D6", "C2", "D0"],
"rows": ["D1", "D2", "D3", "D4"] "rows": ["D1", "D2", "D3", "D4"]

View File

@ -1,7 +0,0 @@
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

View File

@ -1,33 +0,0 @@
{
"usb": {
"pid": "0x0161",
"device_version": "0.0.1"
},
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,
"led_count": 1,
"animations": {
"breathing": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"snake": true,
"knight": true,
"christmas": true,
"static_gradient": true,
"rgb_test": true,
"alternating": true,
"twinkle": true
}
},
"ws2812": {
"pin": "B1"
},
"matrix_pins": {
"cols": ["D1", "D0", "D4", "C6"],
"rows": ["F4", "F5", "F6", "F7"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina"
}

View File

@ -0,0 +1,99 @@
{
"keyboard_name": "Sweet16",
"manufacturer": "1up Keyboards",
"url": "",
"maintainer": "skullydazed",
"usb": {
"vid": "0x6F75",
"pid": "0x0161",
"device_version": "0.0.1"
},
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"nkro": true,
"rgblight": true
},
"build": {
"lto": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,
"led_count": 1,
"animations": {
"breathing": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"snake": true,
"knight": true,
"christmas": true,
"static_gradient": true,
"rgb_test": true,
"alternating": true,
"twinkle": true
}
},
"ws2812": {
"pin": "B1"
},
"matrix_pins": {
"cols": ["D1", "D0", "D4", "C6"],
"rows": ["F4", "F5", "F6", "F7"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
"LAYOUT_ortho_4x4": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [1, 3], "x": 3, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2},
{"matrix": [2, 1], "x": 1, "y": 2},
{"matrix": [2, 2], "x": 2, "y": 2},
{"matrix": [2, 3], "x": 3, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3},
{"matrix": [3, 1], "x": 1, "y": 3},
{"matrix": [3, 2], "x": 2, "y": 3},
{"matrix": [3, 3], "x": 3, "y": 3}
]
},
"LAYOUT_numpad_4x4": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0, "h": 2},
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2},
{"matrix": [2, 1], "x": 1, "y": 2},
{"matrix": [2, 2], "x": 2, "y": 2},
{"matrix": [2, 3], "x": 3, "y": 2, "h": 2},
{"matrix": [3, 1], "x": 0, "y": 3, "w": 2},
{"matrix": [3, 2], "x": 2, "y": 3}
]
}
}
}

View File

@ -1,4 +0,0 @@
RGBLIGHT_ENABLE = yes
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
LTO_ENABLE = yes

View File

@ -1,22 +0,0 @@
/* Copyright 2022 ziptyze
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

View File

@ -21,6 +21,12 @@
"nkro": false, "nkro": false,
"rgb_matrix": true "rgb_matrix": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"ws2812": { "ws2812": {
"pin": "GP6", "pin": "GP6",
"driver": "vendor" "driver": "vendor"

View File

@ -1,22 +0,0 @@
/* Copyright 2022 ziptyze
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

View File

@ -20,6 +20,12 @@
"nkro": false, "nkro": false,
"rgb_matrix": true "rgb_matrix": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"ws2812": { "ws2812": {
"pin": "D7" "pin": "D7"
}, },

Some files were not shown because too many files have changed in this diff Show More