pub fn read_key_input() -> KeyInput {
  // Note(Lokathor): The 10 used bits are "low when pressed" style, but the 6
  // unused bits are always low, so we XOR with this mask to get a result where
  // the only active bits are currently pressed keys.
  KeyInput(KEYINPUT.read() ^ 0b0000_0011_1111_1111)
}
/// Gets the current state of the keys
Gets the current state of the keys
Gets the current state of the keys
pub fn read_key_input() -> KeyInput {
  // Note(Lokathor): The 10 used bits are "low when pressed" style, but the 6
  // unused bits are always low, so we XOR with this mask to get a result where
  // the only active bits are currently pressed keys.
  KeyInput(KEYINPUT.read() ^ 0b0000_0011_1111_1111)
}
pub fn read_key_input ( ) -> KeyInput { // Note(Lokathor): The 10 used bits are "low when pressed" style, but the 6 // unused bits are always low, so we XOR with this mask to get a result where // the only active bits are currently pressed keys. KeyInput ( KEYINPUT . read ( ) ^ 0b0000_0011_1111_1111 ) }
Gets the current state of the keys
Gets the current state of the keys