Jump to content

Recommended Posts

Posted

uGFX 2.9

STM32F746G Discovery

ChibiOS

Running the button demo...

Hello,

Touch is detected and arrives in gwidgetEvent() but the flags are not matched to run the MouseUp() function.

h->flags = 0x011f00

image.png.010f3582704f17f7750fbb5516111678.png

Any suggestions? 

Thanks

Lemmy

 

Posted

Found the problem(s)

  • FT5336 x and y values weren't reading correctly
  • ft5336ReadXYZ() needs to return TRUE even if there is no new touch

    👍

 

Posted

Hello & Welcome to the µGFX community!

Glad to hear that you got it working!
I'm a bit confused tho. ft5336ReadXYZ() seems to already return gTrue.

Did you modify the driver or am I missing something?

Posted

Hi Joel,

As I rooted around for a solution I wondered if ft5336ReadXYZ() should return gTrue even if there was no touch detected. So I changed it 🙃

 

 

 

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...