summaryrefslogtreecommitdiffstats
path: root/keyboards/rate/pistachio
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-04 08:05:40 +1000
committerGitHub <noreply@github.com>2022-08-04 08:05:40 +1000
commitb40c03140e5da1edac2faa2b672a84ea28d0a7c1 (patch)
treeebb6eba45162062fcb3d2e327313812fcaf98e33 /keyboards/rate/pistachio
parent92bcbee22615114286916bbbc4df4256c2818f0d (diff)
Move keyboard USB IDs and strings to data driven: R (#17885)
Diffstat (limited to 'keyboards/rate/pistachio')
-rw-r--r--keyboards/rate/pistachio/config.h7
-rw-r--r--keyboards/rate/pistachio/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/rate/pistachio/config.h b/keyboards/rate/pistachio/config.h
index 5ff7b3d799..8396147b11 100644
--- a/keyboards/rate/pistachio/config.h
+++ b/keyboards/rate/pistachio/config.h
@@ -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 0x5255
-#define PRODUCT_ID 0xD0C2
-#define DEVICE_VER 0x0001
-#define MANUFACTURER rate
-#define PRODUCT pistachio
-
/* key matrix size */
#define MATRIX_ROWS 12
#define MATRIX_COLS 9
diff --git a/keyboards/rate/pistachio/info.json b/keyboards/rate/pistachio/info.json
index 8cdeb51ca3..7f9e92e484 100644
--- a/keyboards/rate/pistachio/info.json
+++ b/keyboards/rate/pistachio/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "Pistachio",
+ "keyboard_name": "pistachio",
+ "manufacturer": "rate",
"url": "",
"maintainer": "rate",
+ "usb": {
+ "vid": "0x5255",
+ "pid": "0xD0C2",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [{"label":"ESC", "x":1.25, "y":0.25},