summaryrefslogtreecommitdiff
path: root/keyboards/handwired/promethium
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-30 17:31:44 +1000
committerGitHub <noreply@github.com>2022-07-30 17:31:44 +1000
commit2d778d2ff28ed10c43c79783e6c519f00dee1429 (patch)
treec4535d1c66c573795ac30f601cd1315dc8664824 /keyboards/handwired/promethium
parent1c6b0391b4685a2d6e9b8ad9fc3a88c5ad5ea31c (diff)
downloadqmk_firmware-2d778d2ff28ed10c43c79783e6c519f00dee1429.tar.gz
qmk_firmware-2d778d2ff28ed10c43c79783e6c519f00dee1429.zip
Move keyboard USB IDs and strings to data driven: handwired (#17822)
Diffstat (limited to 'keyboards/handwired/promethium')
-rw-r--r--keyboards/handwired/promethium/config.h10
-rw-r--r--keyboards/handwired/promethium/info.json8
2 files changed, 7 insertions, 11 deletions
diff --git a/keyboards/handwired/promethium/config.h b/keyboards/handwired/promethium/config.h
index 68f83035f9..73fffcc45f 100644
--- a/keyboards/handwired/promethium/config.h
+++ b/keyboards/handwired/promethium/config.h
@@ -19,16 +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 0x17EF // Lenovo
-//#define PRODUCT_ID 0x6009 // ThinkPad Keyboard with TrackPoint
-//#define PRODUCT_ID 0x6047 // ThinkPad Compact USB Keyboard with TrackPoint
-#define PRODUCT_ID 0x6048 // ThinkPad Compact Bluetooth Keyboard with TrackPoint
-//#define PRODUCT_ID 0x6067 // ThinkPad Pro Docking Station
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Priyadi
-#define PRODUCT Promethium Keyboard
-
/* key matrix size */
#define MATRIX_COLS 6
#define MATRIX_ROWS 9
diff --git a/keyboards/handwired/promethium/info.json b/keyboards/handwired/promethium/info.json
index 365ee2fe32..618b680ff1 100644
--- a/keyboards/handwired/promethium/info.json
+++ b/keyboards/handwired/promethium/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "Promethium51",
+ "keyboard_name": "Promethium",
+ "manufacturer": "Priyadi",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x17EF",
+ "pid": "0x6048",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [