Required from upstream.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
Andrea Odetti 2021-01-17 20:19:12 +00:00
parent 094e09a6d1
commit a3bb062260

View file

@ -10,6 +10,7 @@ namespace
{
std::queue<BYTE> keys;
BYTE keycode = 0;
bool g_bCapsLock = true; //Caps lock key for Apple2 and Lat/Cyr lock for Pravets8
}
void addKeyToBuffer(BYTE key)
@ -17,6 +18,11 @@ void addKeyToBuffer(BYTE key)
keys.push(key);
}
bool KeybGetCapsStatus()
{
return g_bCapsLock;
}
BYTE KeybGetKeycode()
{
return keycode;