1
0
Fork 0

[Keyboard] Refactor JJ50 keyboard mapping to current standard (#9415)

This commit is contained in:
Guillaume Gérard 2020-06-28 19:45:16 +02:00 committed by GitHub
parent a8904d47b7
commit 0928496220
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 299 additions and 111 deletions

View file

@ -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