fix syntax
This commit is contained in:
parent
5389309cd4
commit
1177df59a0
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue