Emwin considerations for using the keyboard data send function

Source: Internet
Author: User
Tags case statement

@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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.