Commit Graph

13 Commits

Author SHA1 Message Date
Jonas Bark
13bd08d909 Android: simulate additional actions for local connection method (Left, Down, Right, Up, Down, Select, Back, Home, Recent Apps), allowing you to navigate in the trainer app, if supported 2026-01-17 13:52:27 +01:00
copilot-swe-agent[bot]
607fd7c77a Add Android global actions support
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-17 12:06:48 +00:00
copilot-swe-agent[bot]
a3470bfc2c Address code review feedback: memory leak and thread safety
- Store keymap update subscription to allow cancellation on re-init
- Fix List<String?> to List<String> in setHandledKeys signature
- Use ConcurrentHashMap.newKeySet() for thread-safe handledKeys access
- Clear and update the set instead of replacing it

Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-12 16:52:22 +00:00
copilot-swe-agent[bot]
9a0bbd2b96 Change approach: Use keymap-based filtering for HID key events
- Add setHandledKeys API to pass list of keys with keymaps to Android side
- Android AccessibilityService checks if key is in handled keys set before swallowing
- Dart side updates handled keys list whenever keymap changes
- Remove hardcoded media/volume key filtering
- This allows keyboards to work for typing while still capturing mapped keys

Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-12 16:49:19 +00:00
Jonas Bark
43507febf9 fix hid device functionality when accessibility service is active 2025-12-05 19:48:34 +01:00
Jonas Bark
7b1a96b5a0 status widget for accessibility service 2025-11-23 20:57:52 +00:00
Jonas Bark
d4a102e2f2 allow to ignore HID device input 2025-11-04 10:05:52 +01:00
Jonas Bark
9aa902bc22 support HID key events on Android #110 2025-11-04 09:53:52 +01:00
Jonas Bark
d1b176b68b allow long touches / keyboard presses (fixes #61) 2025-09-08 14:01:28 +02:00
copilot-swe-agent[bot]
9608829d1a Refactor action method parameters from isPressed/isRepeated to isKeyDown/isKeyUp
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-07 10:18:20 +00:00
Jonas Bark
458c5f5286 Android: better approximation of button placement for freeform windows 2025-04-07 15:21:45 +02:00
Jonas Bark
50fda1d9eb control media (Android only for now), add menu 2025-03-28 15:24:25 +01:00
Jonas Bark
e60c6a4707 accessibility implementation #1 2025-03-27 16:15:53 +01:00