mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-04 06:34:17 -04:00
Relocate winry315 VIA logic (#24008)
This commit is contained in:
parent
e91f279dc5
commit
42f69a0101
1 changed files with 5 additions and 0 deletions
|
@ -37,3 +37,8 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[2 ... 7] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }
|
[2 ... 7] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// The enum values are assumed to match the layout option values used by VIA.
|
||||||
|
void via_set_layout_options_kb(uint32_t value) {
|
||||||
|
winry315_set_orientation(value & 0x03);
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue