mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-28 19:58:48 +06:00
f37f27f02a
Affects: - `oddball` - `oddforge/vea` - `ok60` - `om60` - `omkbd/ergodash/mini` - `omkbd/ergodash/rev1` - `omkbd/runner3680/3x6` - `omkbd/runner3680/3x7` - `omkbd/runner3680/3x8` - `omkbd/runner3680/4x6` - `omkbd/runner3680/4x7` - `omkbd/runner3680/4x8` - `omkbd/runner3680/5x6` - `omkbd/runner3680/5x6_5x8` - `omkbd/runner3680/5x7` - `omkbd/runner3680/5x8` - `omnikeyish` - `orange75` - `org60` - `ortho5by12` - `orthocode`
22 lines
592 B
C
22 lines
592 B
C
#pragma once
|
|
|
|
|
|
#define KEYBOARD_PCB_REV 11
|
|
|
|
/* key matrix pins */
|
|
#if KEYBOARD_PCB_REV == 10
|
|
#define MATRIX_ROW_PINS { D2, D3, D4, D5, D6, D7 }
|
|
#else
|
|
#define MATRIX_ROW_PINS { D2, D3, D4, D5, E6, D7 }
|
|
#endif
|
|
#define MATRIX_COL_PINS { F0, F1, F2, F3, F4, F5, F6, F7, C7, C6, C5, C4, C3, C2, C1, C0, B0, B1, B2, B3, B4, B5, B6 }
|
|
|
|
/* COL2ROW or ROW2COL */
|
|
#define DIODE_DIRECTION ROW2COL
|
|
|
|
#define DYNAMIC_MACRO_COUNT 12
|
|
#define DYNAMIC_MACRO_SIZE 48
|
|
#define DYNAMIC_MACRO_EEPROM_STORAGE
|
|
#define DYNAMIC_MACRO_EEPROM_MAGIC_ADDR (uint16_t*)32
|
|
#define DYNAMIC_MACRO_EEPROM_BLOCK0_ADDR (uint8_t*)34
|