@2018-08-08
Xiao Kee
When the keyboard is implemented, when the key value is sent, the parameters of the function gui_sendkeymsg (gui_key_backspace, Pressed) do not break after the case statement of the pressed state of the key, this method refers to the keyboard instance in the official simulator, plus Break causes the keyboard to have no response results
1 CaseID_BUTTON_13://notifications sent by ' <--button '2 Switch(NCode) {3 Casewm_notification_clicked:4 //USER START (optionally insert code for reacting on notification message)5 6Pressed =1;7 8 //USER END9 Casewm_notification_released:Ten //USER START (optionally insert code for reacting on notification message) One A gui_sendkeymsg (Gui_key_backspace, Pressed); - - //USER END the Break; - //USER START (optionally insert additional code for further notification handling) - //USER END - } + Break;
Emwin considerations for using the keyboard data send function