1
0
mirror of https://github.com/4yn/slidershim.git synced 2024-11-12 00:40:49 +01:00

fix hori slider output order

This commit is contained in:
4yn 2022-07-29 19:46:34 +08:00
parent f135c31904
commit b02e14ecdf

View File

@ -91,7 +91,7 @@ impl OutputHandler for HoriOutput {
.fold(0, |axis, (idx, state)| {
axis
| match state {
true => 0b11 << ((15 - idx) * 2),
true => 0b11 << ((idx ^ 3) * 2),
false => 0,
}
})