adafruit_focaltouch

TODO(description)

  • Author(s): ladyada
class adafruit_focaltouch.Adafruit_FocalTouch(i2c, address=56, debug=False)[source]

A driver for the FocalTech capacitive touch sensor.

touched

Returns the number of touches currently detected

touches

Returns a list of touchpoint dicts, with ‘x’ and ‘y’ containing the touch coordinates, and ‘id’ as the touch # for multitouch tracking