summaryrefslogtreecommitdiff
path: root/keyboards/recompile_keys/cocoa40
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/recompile_keys/cocoa40
parent92bcbee22615114286916bbbc4df4256c2818f0d (diff)
downloadqmk_firmware-b40c03140e5da1edac2faa2b672a84ea28d0a7c1.tar.gz
qmk_firmware-b40c03140e5da1edac2faa2b672a84ea28d0a7c1.zip
Move keyboard USB IDs and strings to data driven: R (#17885)
Diffstat (limited to 'keyboards/recompile_keys/cocoa40')
-rw-r--r--keyboards/recompile_keys/cocoa40/config.h7
-rw-r--r--keyboards/recompile_keys/cocoa40/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/recompile_keys/cocoa40/config.h b/keyboards/recompile_keys/cocoa40/config.h
index 50da34ffbd..e85bed8b14 100644
--- a/keyboards/recompile_keys/cocoa40/config.h
+++ b/keyboards/recompile_keys/cocoa40/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 0xC0C0
-#define PRODUCT_ID 0x4000
-#define DEVICE_VER 0x0001
-#define MANUFACTURER recompile keys
-#define PRODUCT cocoa40
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 8
diff --git a/keyboards/recompile_keys/cocoa40/info.json b/keyboards/recompile_keys/cocoa40/info.json
index d2b75a6fca..dca5750161 100644
--- a/keyboards/recompile_keys/cocoa40/info.json
+++ b/keyboards/recompile_keys/cocoa40/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Cocoa40",
+ "manufacturer": "recompile keys",
"url": "https://keys.recompile.net/projects/cocoa40/",
"maintainer": "Naoto Takai",
+ "usb": {
+ "vid": "0xC0C0",
+ "pid": "0x4000",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [{"label":"Esc", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":7.25, "y":0}, {"label":"U", "x":8.25, "y":0}, {"label":"I", "x":9.25, "y":0}, {"label":"O", "x":10.25, "y":0}, {"label":"P", "x":11.25, "y":0}, {"label":"{", "x":12.25, "y":0}, {"label":"}", "x":13.25, "y":0}, {"label":"Back<br>Space", "x":14.25, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":7.5, "y":1}, {"label":"J", "x":8.5, "y":1}, {"label":"K", "x":9.5, "y":1}, {"label":"L", "x":10.5, "y":1}, {"label":":", "x":11.5, "y":1}, {"label":"\"", "x":12.5, "y":1}, {"label":"Enter", "x":13.5, "y":1, "w":1.75}, {"label":"Shift", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":8, "y":2}, {"label":"M", "x":9, "y":2}, {"label":"<", "x":10, "y":2}, {"label":">", "x":11, "y":2}, {"label":"?", "x":12, "y":2}, {"label":"Shift", "x":13, "y":2, "w":1.25}, {"label":"Fn", "x":14.25, "y":2}, {"label":"Opt", "x":1.5, "y":3}, {"label":"Command", "x":2.5, "y":3, "w":1.5}, {"label":"", "x":4, "y":3, "w":2.25}, {"label":"", "x":7.5, "y":3, "w":2.75}, {"label":"Command", "x":10.25, "y":3, "w":1.5}, {"label":"Opt", "x":11.75, "y":3}]