Thats seems to be the issue with older BLE component. We need to confirm. Meanwhile, please check the code example BLE_HID_Keyboard present in the PSoC Creator 4.2 code examples. Using this project, you wont get the driver error.
The code example you have mentioned uses older version of CapSense component. Please use the latest version of CapSense component which includes gesture capability inside it.
You can refer the code examples CE224820 and CE224821 which are available in PSoC Creator 4.2 which implements gestures on CapSense slider as well as CapSense trackpad.
Yes it works now thank you, but with the old capsense gestures component. I read that in the newest one some of the functions are not present such as GetDiffDoubleCentroidPos() GetDoubleTouchCentroidPos(), which seem to be necessary in the code for translating trackpad input to the pointer movement, do you know if there are already converted functions of this kind? or if there's an easier way, with the new capsense component, to translate trackpad touches to the pointer movement, also considering ballistic multiplier?
There are no direct APIs for getting difference in centroid positions in the latest CapSense component. The user has to implement on their own based on the available APIs. This is because the implementation of CapSense APIs has been changed from CapSense component version 3.0 .
If the CapSense_Gesture component currently used by you is working fine, then you can use that. Please check whether you are getting good SNR. If not please update the thread.
Hi, I'm currently using Capsense v7.0, and to have the difference I use the values from the ballistic multiplier:
and I update the position on the screen of the pointer based on those 2 values.