49 return (m_bitField>>(
uint8_t)k) & 1;
51 operator uint64_t()
const {
return m_bitField; }
58 static_assert(
sizeof(State)*8>
NumberOfKeys,
"Ion::Keyboard::State cannot hold a keyboard snapshot");
constexpr int NumberOfKeys
constexpr int NumberOfValidKeys
unsigned long long uint64_t
bool keyDown(Key k) const
constexpr State(uint64_t s=0)
void Keyboard(const char *input)
constexpr Key ValidKeys[]