apio
de6fe7f7c2
All checks were successful
continuous-integration/drone/push Build is passing
Like, so much more termios compatibility!
17 lines
351 B
C++
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);
|
|
}
|