Move keyboard USB IDs and strings to data driven, pass 2: 0-9, A (#17941)

This commit is contained in:
Ryan
2022-08-14 10:47:05 +10:00
committed by GitHub
parent 0f1bb982e9
commit 3079691391
137 changed files with 422 additions and 510 deletions

View File

@@ -0,0 +1,9 @@
{
"keyboard_name": "0-Sixty",
"usb": {
"pid": "0x0060"
},
"indicators": {
"caps_lock": "B6"
}
}

View File

View File

@@ -18,15 +18,6 @@
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x7654
#define PRODUCT_ID 0x0060
#define DEVICE_VER 0x0001
#define MANUFACTURER ven0mtr0n
#define PRODUCT 0-Sixty
/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 5
@@ -41,9 +32,6 @@
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
/* indicator leds */
#define LED_CAPS_LOCK_PIN B6
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -1,7 +1,11 @@
{
"keyboard_name": "0-Sixty",
"manufacturer": "ven0mtr0n",
"url": "",
"maintainer": "vinamarora8",
"usb": {
"vid": "0x7654",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_1x2uC": {
"layout": [

View File

@@ -17,3 +17,5 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes # Link-time opt
DEFAULT_FOLDER = 0_sixty/base

View File

@@ -18,15 +18,6 @@
#include "config_common.h"
/* USB Device descriptor parameter */
#undef PRODUCT_ID
#define PRODUCT_ID 0x0061
#undef PRODUCT
#define PRODUCT 0-Sixty-underglow
/* no caps lock with underglow */
#undef LED_CAPS_LOCK_PIN
/* underglow */
#define RGB_DI_PIN B6
#define RGBLED_NUM 24

View File

@@ -0,0 +1,9 @@
{
"keyboard_name": "0-Sixty-underglow",
"usb": {
"pid": "0x0061"
},
"features": {
"rgblight": true
}
}

View File

@@ -1 +0,0 @@
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow

View File

@@ -1,19 +0,0 @@
/* Copyright 2021 Vinam Arora <vinam@posteo.de>
*
* 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
#include "0_sixty.h"