Skip to content

Commit

Permalink
Move keyboard USB IDs and strings to data driven: J (qmk#17837)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpskenn committed Nov 4, 2023
1 parent 5277597 commit d5e3330
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 28 deletions.
7 changes: 0 additions & 7 deletions keyboards/nora/v01/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0xB9DD
#define PRODUCT_ID 0xC9D7
#define DEVICE_VER 0x0010
#define MANUFACTURER jpskenn
#define PRODUCT Nora

/* key matrix size */
#define MATRIX_ROWS 10
#define MATRIX_COLS 8
Expand Down
6 changes: 6 additions & 0 deletions keyboards/nora/v01/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"keyboard_name": "Nora",
"url": "https://github.com/jpskenn/Nora",
"maintainer": "jpskenn",
"manufacturer": "jpskenn",
"usb": {
"vid": "0xB9DD",
"pid": "0xC9D7",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/nora/v03/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0xB9DD
#define PRODUCT_ID 0xC9D7
#define DEVICE_VER 0x0030
#define MANUFACTURER jpskenn
#define PRODUCT Nora

/* key matrix size */
// Same number for Round-Robin matrix.
#define MATRIX_ROWS 10
Expand Down
6 changes: 6 additions & 0 deletions keyboards/nora/v03/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"keyboard_name": "Nora",
"url": "https://github.com/jpskenn/Nora",
"maintainer": "jpskenn",
"manufacturer": "jpskenn",
"usb": {
"vid": "0xB9DD",
"pid": "0xC9D7",
"device_version": "0.3.0"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/nora/v031/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0xB9DD
#define PRODUCT_ID 0xC9D7
#define DEVICE_VER 0x0031
#define MANUFACTURER jpskenn
#define PRODUCT Nora DN0031

/* key matrix size */
// Same number for Round-Robin matrix.
#define MATRIX_ROWS 10
Expand Down
6 changes: 6 additions & 0 deletions keyboards/nora/v031/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"keyboard_name": "Nora",
"url": "https://github.com/jpskenn/Nora",
"maintainer": "jpskenn",
"manufacturer": "jpskenn",
"usb": {
"vid": "0xB9DD",
"pid": "0xC9D7",
"device_version": "0.3.1"
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
7 changes: 0 additions & 7 deletions keyboards/nora/v1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0xB9DD
#define PRODUCT_ID 0xC9D7
#define DEVICE_VER 0x0032
#define MANUFACTURER jpskenn
#define PRODUCT Nora

/* key matrix size */
// Same number for Round-Robin matrix.
#define MATRIX_ROWS 10
Expand Down
6 changes: 6 additions & 0 deletions keyboards/nora/v1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"keyboard_name": "Nora",
"url": "https://github.com/jpskenn/Nora",
"maintainer": "jpskenn",
"manufacturer": "jpskenn",
"usb": {
"vid": "0xB9DD",
"pid": "0xC9D7",
"device_version": "0.3.2"
},
"layouts": {
"LAYOUT_all": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":15, "y":0}, {"x":0, "y":1, "w":1.5}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1}, {"x":12.5, "y":1}, {"x":13.5, "y":1}, {"x":14.5, "y":1, "w":1.5}, {"x":0, "y":2, "w":1.5}, {"x":1.5, "y":2}, {"x":2.5, "y":2}, {"x":3.5, "y":2}, {"x":4.5, "y":2}, {"x":5.5, "y":2}, {"x":6.5, "y":2}, {"x":7.5, "y":2}, {"x":8.5, "y":2}, {"x":9.5, "y":2}, {"x":10.5, "y":2}, {"x":11.5, "y":2}, {"x":12.5, "y":2}, {"x":13.5, "y":2}, {"x":14.5, "y":2, "w":1.5}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, {"x":15, "y":3}, {"x":2.25, "y":4, "w":1.5}, {"x":3.75, "y":4}, {"x":4.75, "y":4, "w":1.5}, {"x":6.25, "y":4}, {"x":7.25, "y":4, "w":1.5}, {"x":8.75, "y":4}, {"x":9.75, "y":4, "w":1.5}, {"x":11.25, "y":4}, {"x":12.25, "y":4, "w":1.5}]
Expand Down

0 comments on commit d5e3330

Please sign in to comment.