Move keyboard USB IDs and strings to data driven, pass 2: P-R (#18091)
This commit is contained in:
parent
835c971f78
commit
201a914beb
98 changed files with 282 additions and 375 deletions
|
@ -19,11 +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 0x03A8
|
||||
#define MANUFACTURER OLKB
|
||||
#define PRODUCT Preonic
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 5
|
||||
#define MATRIX_COLS 12
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
"keyboard_name": "Preonic",
|
||||
"url": "https://olkb.com/preonic",
|
||||
"maintainer": "jackhumbert",
|
||||
"layouts": {
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
/*
|
||||
Copyright 2017 Jack Humbert <jack.humb@gmail.com>
|
||||
|
||||
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 "config_common.h"
|
||||
|
||||
#define DEVICE_VER 0x0001
|
||||
#define PRODUCT_ID 0x67F3
|
9
keyboards/preonic/rev1/info.json
Normal file
9
keyboards/preonic/rev1/info.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"keyboard_name": "Preonic",
|
||||
"manufacturer": "OLKB",
|
||||
"usb": {
|
||||
"vid": "0x03A8",
|
||||
"pid": "0x67F3",
|
||||
"device_version": "0.0.1"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
/*
|
||||
Copyright 2017 Jack Humbert <jack.humb@gmail.com>
|
||||
|
||||
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 "config_common.h"
|
||||
|
||||
#define DEVICE_VER 0x0002
|
||||
#define PRODUCT_ID 0x67F3
|
9
keyboards/preonic/rev2/info.json
Normal file
9
keyboards/preonic/rev2/info.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"keyboard_name": "Preonic",
|
||||
"manufacturer": "OLKB",
|
||||
"usb": {
|
||||
"vid": "0x03A8",
|
||||
"pid": "0x67F3",
|
||||
"device_version": "0.0.2"
|
||||
}
|
||||
}
|
|
@ -17,10 +17,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define DEVICE_VER 0x0003
|
||||
#define PRODUCT_ID 0xA649
|
||||
|
||||
#undef MATRIX_ROWS
|
||||
#undef MATRIX_COLS
|
||||
/* key matrix size */
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
{
|
||||
"keyboard_name": "Preonic rev. 3",
|
||||
"url": "https://olkb.com/preonic",
|
||||
"maintainer": "jackhumbert",
|
||||
"keyboard_name": "Preonic",
|
||||
"manufacturer": "OLKB",
|
||||
"usb": {
|
||||
"vid": "0x03A8",
|
||||
"pid": "0xA649",
|
||||
"device_version": "0.0.3"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_preonic_1x2uC": {
|
||||
"layout": [
|
||||
|
|
|
@ -17,12 +17,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define DEVICE_VER 0x0003
|
||||
#define PRODUCT_ID 0xA649
|
||||
#undef MANUFACTURER
|
||||
#define MANUFACTURER Drop
|
||||
|
||||
#undef MATRIX_ROWS
|
||||
#undef MATRIX_COLS
|
||||
/* key matrix size */
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
{
|
||||
"keyboard_name": "Preonic rev. 3",
|
||||
"url": "https://olkb.com/preonic",
|
||||
"maintainer": "jackhumbert",
|
||||
"keyboard_name": "Preonic",
|
||||
"manufacturer": "Drop",
|
||||
"usb": {
|
||||
"vid": "0x03A8",
|
||||
"pid": "0xA649",
|
||||
"device_version": "0.0.3"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_preonic_1x2uC": {
|
||||
"layout": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue