select method

LegacyKeyEncoding select(
  1. bool v
)

Enables legacy Select key reporting when v is true.

Implementation

LegacyKeyEncoding select(bool v) =>
    LegacyKeyEncoding(v ? (bits | _flagSelect) : (bits & ~_flagSelect));