summaryrefslogtreecommitdiff
path: root/keyboards/jj50/config.h
diff options
context:
space:
mode:
authorGuillaume Gérard <1322081+GreatWizard@users.noreply.github.com>2020-06-28 19:45:16 +0200
committerGitHub <noreply@github.com>2020-06-28 18:45:16 +0100
commit092849622017fcd32c1b3e4708030b1cf2fd6ade (patch)
tree8e597689ee2c22a033e390925ff8ed4a28d35c95 /keyboards/jj50/config.h
parenta8904d47b745518e9bbab8f20f05828d77f7f42d (diff)
[Keyboard] Refactor JJ50 keyboard mapping to current standard (#9415)
Diffstat (limited to 'keyboards/jj50/config.h')
-rw-r--r--keyboards/jj50/config.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/jj50/config.h b/keyboards/jj50/config.h
index 8453f55880..a1840919ee 100644
--- a/keyboards/jj50/config.h
+++ b/keyboards/jj50/config.h
@@ -2,6 +2,7 @@
Base Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>
Modified 2017 Andrew Novak <ndrw.nvk@gmail.com>
Modified 2018 Wayne Jones (WarmCatUK) <waynekjones@gmail.com>
+Modified 2020 Guillaume Gérard
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
@@ -17,17 +18,16 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CONFIG_H
-#define CONFIG_H
+#pragma once
#include "config_common.h"
-#define VENDOR_ID 0x20A0
-#define PRODUCT_ID 0x422D
+#define VENDOR_ID 0x4B50 // "KP"
+#define PRODUCT_ID 0x0050
#define DEVICE_VER 0x0200
#define MANUFACTURER KPrepublic
#define PRODUCT JJ50
-#define DESCRIPTION Preonic-like clone
+#define DESCRIPTION A compact 50% (5x12) ortholinear keyboard
/* matrix size */
#define MATRIX_ROWS 5
@@ -38,6 +38,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 12
+#define BACKLIGHT_BREATHING
#define RGB_DI_PIN E2
#define RGBLED_NUM 12
@@ -45,5 +46,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_HUE_STEP 12
#define RGBLIGHT_SAT_STEP 15
#define RGBLIGHT_VAL_STEP 18
-
-#endif