Closed waywardmonkeys closed 1 month ago
This builds upon #333. The comment that was removed in #333 from the code in Glazier about PointerButton::None
needing to be zero was not brought back as it isn't accurately with the usage of a function to get the bit flag for each variant.
This is done now, I think ... I didn't add tests, but probably will in the future. But right now, this code is barely even used! (But definitely should be used more.)
This brings code over from glazier for a set of PointerButtons that just uses a single value and bit flags rather than a
HashSet
.