The old MouseButtons bitset had funky off-by-one storage. The new PointerButtons has more intuitive straight storage. This PR updates the debug formatter to match that new reality.
Easy way to test is with the shello example and clicking the primary mouse button. Without this PR it will print all zeroes, with this PR applied it will print correctly.
The old
MouseButtons
bitset had funky off-by-one storage. The newPointerButtons
has more intuitive straight storage. This PR updates the debug formatter to match that new reality.Easy way to test is with the
shello
example and clicking the primary mouse button. Without this PR it will print all zeroes, with this PR applied it will print correctly.