fix syntax

This commit is contained in:
Christoph Cullmann 2024-11-20 22:16:56 +01:00
parent 5389309cd4
commit 1177df59a0
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
char chordal_hold_handedness(keypos_t key char chordal_hold_handedness(keypos_t key)
{ {
return (key.row < MATRIX_ROWS / 2) ? 'L' : 'R'; return (key.row < MATRIX_ROWS / 2) ? 'L' : 'R';
} }

View file

@ -5,7 +5,7 @@
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
char chordal_hold_handedness(keypos_t key char chordal_hold_handedness(keypos_t key)
{ {
return (key.row < MATRIX_ROWS / 2) ? 'L' : 'R'; return (key.row < MATRIX_ROWS / 2) ? 'L' : 'R';
} }

View file

@ -5,7 +5,7 @@
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
char chordal_hold_handedness(keypos_t key char chordal_hold_handedness(keypos_t key)
{ {
return ((key.row < 3) || (key.row == 3 && key.col < 3) || (key.row == 7 && key.col > 2)) ? 'L' : 'R'; return ((key.row < 3) || (key.row == 3 && key.col < 3) || (key.row == 7 && key.col > 2)) ? 'L' : 'R';
} }