Add touchscreen support with onscreen keyboard #1

Merged
stjet merged 21 commits from dev into master 2025-02-10 05:03:49 +00:00
Showing only changes of commit bd267cd0cb - Show all commits

View File

@@ -154,6 +154,6 @@ pub fn point_inside(point: Point, top_left: Point, size: Dimensions) -> bool {
let y2 = top_left[1]; let y2 = top_left[1];
let x3 = x2 + size[0]; let x3 = x2 + size[0];
let y3 = y2 + size[1]; let y3 = y2 + size[1];
x >= x2 && y >= x2 && x <= x3 && y <= y3 x >= x2 && y >= y2 && x <= x3 && y <= y3
} }