Skip to content

BW16BLETouch 0.4.0

Latest

Choose a tag to compare

@xiangwen-ctrl xiangwen-ctrl released this 15 Nov 15:33

Hold before dragging, or follow a timed waypoint path with one continuous touch.

  • Added longPressDrag() / longPressDragPixel() with configurable initial hold, travel time and step count.
  • Added swipePath() / swipePathPixel(). Each PathPoint carries coordinates, travel time from the preceding point, and a hold after arrival. The full path is validated before the first press.
  • Added the AdvancedGestures Arduino example, bilingual API documentation and a standalone gesture acceptance page under tools/gesture-lab.
  • Disconnects abort remaining path movement and holds. Host tests cover validation, timing, pixel mapping, legacy swipe equivalence and interrupted gestures.
  • On Ai-Thinker BW16 with AmebaD 3.1.7 and Xiaomi Pad 6 Pro, the packaged APIs passed long-press reordering, a four-point polyline, and a hold/reversal/pause route. The acceptance page passed 105 synthetic browser checks across three viewports.
  • All four examples compiled after installing the ZIP through Arduino CLI. In Arduino IDE choose Sketch → Include Library → Add .ZIP Library and select the attached BW16BLETouch-0.4.0.zip.

Use the full-screen screenshot dimensions for Pixel methods. Android pairing and reconnection behavior remains host-dependent; the README records the tested device behavior.