1
0
Fork 0

[Keyboard] Fix Matrix Row number for ggkeyboards/genisis (#13647)

This commit is contained in:
Drashna Jaelre 2021-07-22 21:02:16 -07:00 committed by GitHub
parent 7f8bc83b30
commit bf57c552c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 13 deletions

View file

@ -19,15 +19,15 @@
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0xBB00
#define PRODUCT_ID 0xD4D3
#define DEVICE_VER 0x0001
#define MANUFACTURER GG Keyboards
#define PRODUCT Genesis
#define VENDOR_ID 0xBB00
#define PRODUCT_ID 0xD4D3
#define DEVICE_VER 0x0001
#define MANUFACTURER GG Keyboards
#define PRODUCT Genesis
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 18
#define MATRIX_ROWS 6
#define MATRIX_COLS 18
/*
* Keyboard Matrix Assignments
@ -39,11 +39,12 @@
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
*
*/
#define MATRIX_ROW_PINS { C5, C4, C3, C2, C1, C0 }
#define MATRIX_COL_PINS { F0, F1, F2, F3, F4, F5, F6, F7, A0, A1, A2, A3, A4, A5, A6, A7, C6, C7 }
#define MATRIX_ROW_PINS \
{ C5, C4, C3, C2, C1, C0 }
#define MATRIX_COL_PINS \
{ F0, F1, F2, F3, F4, F5, F6, F7, A0, A1, A2, A3, A4, A5, A6, A7, C6, C7 }
#define DIODE_DIRECTION COL2ROW
// generated by KBFirmware JSON to QMK Parser
// https://noroadsleft.github.io/kbf_qmk_converter/

View file

@ -18,6 +18,7 @@
#include "quantum.h"
// clang-format off
#define LAYOUT( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0F, K0G, K0H, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, K2G, K2H, \
@ -27,12 +28,11 @@
K60, K61, K63, K66, K6A, K6B, K6C, K6D, K6F, K6G, K6H \
) { \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, KC_NO, KC_NO, K0F, K0G, K0H }, \
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, KC_NO, K2F, K2G, K2H }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, KC_NO, K3F, K3G, K3H }, \
{ K40, KC_NO, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, KC_NO, KC_NO, KC_NO, KC_NO }, \
{ KC_NO, K51, K52, K53, K54, K55, K56, K57, K58, K59, K5A, K5B, K5C, KC_NO, KC_NO, KC_NO, K5G, KC_NO }, \
{ K60, K61, KC_NO, K63, KC_NO, KC_NO, K66, KC_NO, KC_NO, KC_NO, K6A, K6B, K6C, K6D, KC_NO, K6F, K6G, K6H }, \
{ K60, K61, KC_NO, K63, KC_NO, KC_NO, K66, KC_NO, KC_NO, KC_NO, K6A, K6B, K6C, K6D, KC_NO, K6F, K6G, K6H } \
}
// generated by KBFirmware JSON to QMK Parser