Jump to content

How to get keyboard and mouse access to List for scrolling

Recommended Posts

I am new to uGFX and currently trying to learn a little about Lists.  Trying to gain access to scrolling of the demo list program via keyboard and mouse.  I have the demo program from https://wiki.ugfx.io/index.php/List setup, compiling and running in a Win10 environment using gcc.  When first setting up the demo program, was getting build errors with the line in main.c... gwinAttachMouse(0).  Read elsewhere that was no longer needed, so commented that line and got past the build errors.  However, I have not yet figured out how to get access to scrolling the list up/down using my desktop's keyboard or mouse.  Any suggestions on how to accomplish this?

Thanks in advance for your assistance.

Link to post
Share on other sites
  • 2 weeks later...


I'll have to look into this at a later point but the mouse wheel is definitely not supported as of now. You should be able to click on the up and down buttons though.
Controlling the list via the keyboard requires linking/setting-up the keyboard keys to the list widget using the GINPUT module.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...