CMM: GetKeys() function

git-svn-id: svn://kolibrios.org@5706 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2015-08-10 10:47:21 +00:00
parent 070569f1e1
commit b24c17580f
5 changed files with 56 additions and 79 deletions
+1 -5
View File
@@ -74,7 +74,6 @@ char work_folder[4096],
void main()
{
int id;
word key_ascii, key_scancode;
byte mouse_clicked;
dword tmp_x,tmp_y;
@@ -231,10 +230,7 @@ void main()
break;
case evKey:
GetFullKey();
key_ascii = AH;
$shr eax,16
key_scancode = AL;
GetKeys();
if (key_scancode==003) SetColorThemeLight();
if (key_scancode==004) SetColorThemeDark();