cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Click force

FCola.1
Associate III

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 

1 ACCEPTED SOLUTION

Accepted Solutions
LouisB
ST Employee

Hello @FCola.1,

 

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

 

Best regards,

Louis BOUDO
ST Software Developer | TouchGFX

View solution in original post

1 REPLY 1
LouisB
ST Employee

Hello @FCola.1,

 

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

 

Best regards,

Louis BOUDO
ST Software Developer | TouchGFX