Skip to main content
FCola.1
Associate II
July 25, 2024
Solved

TouchGFX Click force

  • July 25, 2024
  • 1 reply
  • 876 views

Hello everyone, 

I am using TouchGFX 4.23.1 and I wonder how can I get the click force on display .

I know there is the method "getForce" in ClickEvent class but there is no documentation that tells me how can I pass the Z-value (force) from my touchcontroller to TouchGFX library. 

Is there a method as "bool STM32TouchController::sampleTouch(int32_t& x, int32_t& y)" which I use to pass coordinate x and y to TouchGFX's driver? 

Thanks in advance 

Best answer by LouisB

Hello @FCola.1,

 

For the moment, TouchGfx doesn't support pressure sensitivity.

 

Best regards,

1 reply

LouisBBest answer
ST Employee
July 29, 2024

Hello @FCola.1,

 

For the moment, TouchGfx doesn't support pressure sensitivity.

 

Best regards,