The TFT_eSPI_Button compatibility mode was half-baked and apparently untested: TFT_eSPI_Button::justPressed() and TFT_eSPI_Button::justReleaed() always returned true :facepalm:
With this patch, TFT_eSPI_Button does not use the ::contains() and ::isPressed() methods from the inherited (and failing) Button object.
The TFT_eSPI_Button compatibility mode was half-baked and apparently untested:
TFT_eSPI_Button::justPressed()
andTFT_eSPI_Button::justReleaed()
always returned true :facepalm:With this patch, TFT_eSPI_Button does not use the
::contains()
and::isPressed()
methods from the inherited (and failing)Button
object.