Jump to content

How to get keyboard and mouse access to List for scrolling


Recommended Posts

Posted

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.

  • 2 weeks later...
Posted

Hi,

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...