Add standard session picture in picture (#156)

* Add session picture in picture controls

* Simplify PiP to standard Android controls

* Remove PiP testing document
This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-03 15:06:16 -04:00
1 parent b04900b1b2
commit e60eae3646
14 files changed
+368 -11

No files matched your search

@@ -66,6 +66,17 @@ class TouchpadGestures(
listener.onButton(PointerGestures.BTN_LEFT, true, x, y)
}
fun cancel() {
handler.removeCallbacks(longPress)
if (dragging) listener.onButton(PointerGestures.BTN_LEFT, false, x, y)
dragging = false
held = false
holdDrag = false
anchorId = -1
moverId = -1
lastTapAt = 0L
}
fun place(px: Float, py: Float) {
x = px.coerceIn(bounds.left, bounds.right)
y = py.coerceIn(bounds.top, bounds.bottom)