1
0
Fork 0

Move keyboard USB IDs and strings to data driven, pass 3 (#18111)

This commit is contained in:
Ryan 2022-08-22 08:08:50 +10:00 committed by GitHub
parent 3c0806a489
commit b0eda7701a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 152 additions and 114 deletions

View file

@ -1,5 +1,3 @@
#pragma once
#define DEVICE_VER 0x0001
#define RGBLED_NUM 12

View file

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.1"
}
}

View file

@ -1,5 +1,3 @@
#pragma once
#define DEVICE_VER 0x0002
#define RGBLED_NUM 16

View file

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.2"
}
}

View file

@ -26,4 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define BACKLIGHT_PIN D4
#define DIODE_DIRECTION COL2ROW
#define DEVICE_VER 0x0100

View file

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "1.0.0"
}
}

View file

@ -7,4 +7,3 @@
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define BACKLIGHT_PIN D4
#define DIODE_DIRECTION COL2ROW
#define DEVICE_VER 0x0200

View file

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "2.0.0"
}
}

View file

@ -6,5 +6,4 @@
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
#define BACKLIGHT_PIN B6 // change the backlight pin that has since changed in Rev 3
#define DIODE_DIRECTION ROW2COL
#define DEVICE_VER 0x0300
#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 4

View file

@ -0,0 +1,5 @@
{
"usb": {
"device_version": "3.0.0"
}
}