Skip to content

Releases

BW16BLETouch 0.4.0

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.

BW16BLETouch 0.3.1

Choose a tag to compare

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

Fix active touch state surviving a BLE disconnect. On a new connection, a fresh press or tap works immediately. A move or release from the previous connection is rejected, even when the sketch made no calls while disconnected.

  • Added a host regression test covering reconnection, interrupted gestures, and an end/begin cycle.
  • Verified on Ai-Thinker BW16 with AmebaD 3.1.7 and Xiaomi Pad 6 Pro: after manual reconnection, the old move and release were rejected and a new center tap landed at (900, 1440).
  • Install the attached BW16BLETouch-0.3.1.zip via Arduino IDE: Sketch → Include Library → Add .ZIP Library.

BW16BLETouch 0.3.0

Choose a tag to compare

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

The English README and Simplified Chinese README cover setup, calibration, gestures and examples.

  • Added doubleTapPixel(), longPressPixel() and swipePixel() with the same timing defaults as the HID-coordinate methods.
  • Confirmed a connected end() → begin() cycle on AmebaD 3.1.7. A paired Android host received pixel taps before shutdown and after manually reconnecting. The existing HID service objects are reused.
  • Compiled the three examples and the README sketch for Ai-Thinker BW16. Install the attached ZIP through Arduino IDE.

BW16BLETouch 0.2.0

Choose a tag to compare

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

适用于 Ai-Thinker BW16(RTL8720DN / AmebaD)的 Arduino 单指 BLE HID 绝对坐标触控库。

  • 支持逻辑坐标、截图像素坐标和四个方向的旋转映射。
  • 包含按下、移动、抬起、单击、双击、长按和滑动 API。
  • 提供 BasicTouch、SerialCommand 和 WiFiHttpControl 三个通用示例。

在 Arduino IDE 中选择「项目 → 加载库 → 添加 .ZIP 库」,导入下方的 BW16BLETouch-0.2.0.zip。README 的第一个草图可直接用于验证中心点击。该草图和三个示例均通过 AmebaD 3.1.7 的 BW16 板型编译。