Relocate winry315 VIA logic (#24008)

This commit is contained in:
Joel Challis 2024-06-29 04:16:52 +01:00 committed by GitHub
parent e91f279dc5
commit 42f69a0101

View file

@ -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(_______, _______) }
};
#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);
}