diff options
| author | フィルターペーパー | 2025-07-25 02:04:12 +0200 |
|---|---|---|
| committer | GitHub | 2025-07-25 02:04:12 +0200 |
| commit | 542440eac5f6d0788fcc496fc1ef2b7e4301a175 (patch) | |
| tree | 801cc10c89f6e41bf207ad378cdf23293c26a2fe /quantum/matrix.h | |
| parent | 717b6b8f138180b217bea64f6f0f4a62ef72200d (diff) | |
Add MATRIX_ROWS_PER_HAND definition (#25513)
Diffstat (limited to 'quantum/matrix.h')
| -rw-r--r-- | quantum/matrix.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/matrix.h b/quantum/matrix.h index a5b628fc59..99f01aece2 100644 --- a/quantum/matrix.h +++ b/quantum/matrix.h @@ -35,6 +35,12 @@ typedef uint32_t matrix_row_t; # error "MATRIX_COLS: invalid value" #endif +#ifdef SPLIT_KEYBOARD +# define MATRIX_ROWS_PER_HAND (MATRIX_ROWS / 2) +#else +# define MATRIX_ROWS_PER_HAND (MATRIX_ROWS) +#endif + #define MATRIX_ROW_SHIFTER ((matrix_row_t)1) #ifdef __cplusplus |