Move keyboard USB IDs and strings to data driven, pass 2: P-R (#18091)
This commit is contained in:
5
keyboards/redox/rev1/base/info.json
Normal file
5
keyboards/redox/rev1/base/info.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"usb": {
|
||||
"device_version": "1.0.0"
|
||||
}
|
||||
}
|
0
keyboards/redox/rev1/base/rules.mk
Normal file
0
keyboards/redox/rev1/base/rules.mk
Normal file
@@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0x4D44 // "MD"
|
||||
#define PRODUCT_ID 0x5244 // "RD"
|
||||
#define DEVICE_VER 0x0100
|
||||
#define MANUFACTURER Falbatech
|
||||
#define PRODUCT The Redox Keyboard
|
||||
|
||||
/* key matrix size */
|
||||
// Rows are doubled-up
|
||||
#define MATRIX_ROWS 10
|
||||
|
@@ -1,7 +1,13 @@
|
||||
{
|
||||
"keyboard_name": "Redox",
|
||||
"manufacturer": "Falbatech",
|
||||
"url": "",
|
||||
"maintainer": "qmk",
|
||||
"usb": {
|
||||
"vid": "0x4D44",
|
||||
"pid": "0x5244",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
@@ -5,10 +5,6 @@
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#undef DEVICE_VER
|
||||
#define DEVICE_VER 0x0101 // added 1 for the rev1 + proton c
|
||||
|
||||
// wiring of each half
|
||||
#undef MATRIX_ROW_PINS
|
||||
#define MATRIX_ROW_PINS { B5, B3, B2, B1, B0 }
|
||||
|
5
keyboards/redox/rev1/proton_c/info.json
Normal file
5
keyboards/redox/rev1/proton_c/info.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"usb": {
|
||||
"device_version": "1.0.1"
|
||||
}
|
||||
}
|
@@ -0,0 +1 @@
|
||||
DEFAULT_FOLDER = redox/rev1/base
|
||||
|
@@ -19,7 +19,7 @@ RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
||||
|
||||
SPLIT_KEYBOARD = yes
|
||||
|
||||
DEFAULT_FOLDER = redox/rev1
|
||||
DEFAULT_FOLDER = redox/rev1/base
|
||||
|
||||
# Disable unsupported hardware
|
||||
AUDIO_SUPPORTED = no
|
||||
|
Reference in New Issue
Block a user