Why is it not clear key buffer??
example:
int key_value = 0;
GUI_StoreKeyMsg(0x21, 1);
//GUI_SendKeyMsg(0x21, 1);
//GUI_StoreKey(0x21);
GUI_Exec();
GUI_ClearKeyBuffer();
GUI_Exec();
GUI_Delay(1000);
key_value = GUI_GetKey();
(the key_value is 0x21!!!!)
example:
int key_value = 0;
GUI_StoreKeyMsg(0x21, 1);
//GUI_SendKeyMsg(0x21, 1);
//GUI_StoreKey(0x21);
GUI_Exec();
GUI_ClearKeyBuffer();
GUI_Exec();
GUI_Delay(1000);
key_value = GUI_GetKey();
(the key_value is 0x21!!!!)