Required from upstream.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
094e09a6d1
commit
a3bb062260
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue