[SOLVED] How to use hardware cursor with emWin?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] How to use hardware cursor with emWin?

    These days I was struggling with hardware cursor.
    I configured the lpc43xx, and tested ok.

    I knew that both lpc43xx and emWin support hardware cursor.
    But, there're some questions with emWin:
    a) Need another layer? (Now GUI_NUM_LAYERS is limited to 1 by default)
    b) How to tell emWin there's a hardware cursor and use it?
    c) lpc43xx modifies frame buffer directly, will emWin overwrite them?

    The UM03001 says very little about it.
    Any idea or hint is welcome! Thanks.

    The post was edited 1 time, last by kenmux ().

  • Hi,

    a) Yes, as explained in the documentation. Excerpt:

    "If a hardware supports multiple layers and the ability of layer positioning emWin can be configured to use a separate layer for managing the cursor."

    b) “GUI_AssignCursorLayer()” should be used.

    c) Should be explained in detail under “GUI_AssignCursorLayer() in chapter 'MultiLayer API'

    Regards,
    Jörg
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.