Luna/kernel/src/arch/Keyboard.h

17 lines
351 B
C
Raw Normal View History

2023-03-19 10:17:43 +00:00
#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);
2023-03-19 10:17:43 +00:00
}