CapacitiveSensorDue not working

Hi everyone, i'm trying to build a capacitive keyboard using the CapacitiveSensor Library. I guess CapacitiveSensorDue does NOT work since i've tried a lot of pin combination with as much resister values, but it always returns me -1 (that meas it exceed the timeout). Did anyone found the same issue and solve it?

Thanks a lot

I just used the example sketch, not more.

check the _sendBitmask and _receiveBitmask's declaring in CapacitiveSensorDue.h

if they are uint8_t try change it to uint32_t

I recently worked on this library, adding non-AVR support with optimized register writes.

https://github.com/PaulStoffregen/CapacitiveSensor

This version supports Arduino Due with optimized I/O, like the original library did only for AVR.