2023-07-13 20:33:20 +02:00

17 lines
351 B
C++

#pragma once
#include <luna/Option.h>
namespace Keyboard
{
struct KeyboardState
{
bool ignore_next { false };
bool left_shift { false };
bool right_shift { false };
bool left_control { false };
bool capslock { false };
};
Option<char> decode_scancode_tty(u8 scancode, KeyboardState& state);
}