Exported Alt,Crtl,Shift status

This commit is contained in:
mpohoreski 2009-02-14 03:35:19 +00:00
parent 1eb2b38869
commit 45a3177fe5

View File

@ -38,10 +38,11 @@ static BYTE asciicode[2][10] = {
{0x08,0x0B,0x15,0x0A,0x00,0x00,0x00,0x00,0x00,0x7F}
}; // Convert PC arrow keys to Apple keycodes
static bool g_bShiftKey = false;
static bool g_bCtrlKey = false;
static bool g_bAltKey = false;
static bool g_bCapsLock = true; //Caps lock key for Apple2 and Lat/Cyr lock for Pravets8
bool g_bShiftKey = false;
bool g_bCtrlKey = false;
bool g_bAltKey = false;
bool g_bCapsLock = true; //Caps lock key for Apple2 and Lat/Cyr lock for Pravets8
static bool g_bP8CapsLock = true; //Caps lock key of Pravets 8A/C
static int lastvirtkey = 0; // Current PC keycode
static BYTE keycode = 0; // Current Apple keycode