summaryrefslogtreecommitdiffstats
path: root/keyboards/melody96/config.h
diff options
context:
space:
mode:
authorVincent Lee <vlee@vlee.me.uk>2020-05-16 17:21:35 +0100
committerGitHub <noreply@github.com>2020-05-16 09:21:35 -0700
commitafebb6576c0c3119fbbeb5b52d98ad6492e7c834 (patch)
tree1493fe44abe50c5238bf75146cec0e304704a4ba /keyboards/melody96/config.h
parent7f6ba2bf8ae31ad02836d63a2842cefba3f8a5b5 (diff)
[Keymap] Add Via support to the Melody96 (#9050)
* Add files needed to The Via support on Melody 96 * Remove manufacture name from product name * replace blank key with Transparent keys * Update keyboards/melody96/rules.mk * Update keyboards/melody96/keymaps/via/keymap.c * Change Product ID to "M" + 96 * Update keyboards/melody96/keymaps/via/rules.mk * add LTO to via's local file * Update keyboards/melody96/rules.mk
Diffstat (limited to 'keyboards/melody96/config.h')
-rw-r--r--keyboards/melody96/config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/melody96/config.h b/keyboards/melody96/config.h
index 8ab88653f3..2533bfa353 100644
--- a/keyboards/melody96/config.h
+++ b/keyboards/melody96/config.h
@@ -3,8 +3,8 @@
#include "config_common.h"
/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x6060
+#define VENDOR_ID 0x594d // "YM"
+#define PRODUCT_ID 0x4D96 // "M" + 96
#define DEVICE_VER 0x0001
#define MANUFACTURER YMDK
#define PRODUCT Melody96
@@ -28,6 +28,10 @@
#define BACKLIGHT_LEVELS 5
#endif
+/* Set location for BootMagic key*/
+#define BOOTMAGIC_LITE_ROW 5
+#define BOOTMAGIC_LITE_COLUMN 0
+
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5