Commit Graph

60 Commits

Author SHA1 Message Date
Jonas Bark
fba1b82b07 add long press option for devices that do not support it (tap once = down, tap again = up) 2026-02-25 18:43:00 +01:00
Jonas Bark
f4b9a349d0 individual actions for single, double, long press 2026-02-25 11:20:18 +01:00
Jonas Bark
589960d1d4 Android: support opening assistant 2026-02-22 18:09:21 +01:00
Jonas Bark
6984969034 mark some actions as pro only 2026-02-22 10:32:11 +01:00
Jonas Bark
26b24716b9 cleanup streams on exit 2026-02-01 10:08:31 +01:00
copilot-swe-agent[bot]
2c0364a4bd Add Android global actions support
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2026-01-17 12:06:48 +00:00
Jonas Bark
d0f3bb7fa1 fix implementation 2026-01-12 18:42:54 +01:00
copilot-swe-agent[bot]
9d0b88d4fc 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]
bbed6211d7 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
1d57c18dd9 onboarding for new users 2025-12-31 15:52:30 +01:00
Jonas Bark
96b4130108 improve Android notification action handling 2025-12-22 11:13:37 +01:00
Jonas Bark
ae4008d4de limit to 80 on Android during trial period, only count sent out commands 2025-12-17 10:02:32 +01:00
Jonas Bark
5a67f2ee76 remove remains of swift_control 2025-12-14 16:22:07 +01:00
Jonas Bark
3878d8eee9 fix Di2 buttons not triggering an event 2025-12-08 11:07:55 +01:00
Jonas Bark
45d9ffda14 cleanup logs, improve handling of analog gamepad events 2025-12-07 10:28:39 +01:00
Jonas Bark
18317f3421 refactoring 2025-12-06 15:06:12 +01:00
Jonas Bark
f9e8859a83 refactoring 2025-12-06 11:46:18 +01:00
Jonas Bark
92d3c68a55 create duplicate keymap if needed 2025-12-05 21:35:40 +01:00
Jonas Bark
43be21f04b fix hid device functionality when accessibility service is active 2025-12-05 20:07:48 +01:00
Jonas Bark
1911ae08a7 fix hid device functionality when accessibility service is active 2025-12-05 20:00:07 +01:00
Jonas Bark
0839322142 fix hid device functionality when accessibility service is active 2025-12-05 19:48:34 +01:00
Jonas Bark
59090fdf79 keydown / key up handling for direct connections 2025-12-04 21:17:43 +00:00
Jonas Bark
f5387718f4 ui, fixes 2025-12-04 20:59:07 +00:00
Jonas Bark
eb3996a288 openbikeprotocol Bluetooth emulator 2025-11-29 17:10:23 +00:00
Jonas Bark
9c2a62bd94 less god objects 2025-11-29 13:12:09 +00:00
Jonas Bark
faa5fe92f1 better error handling 2025-11-23 08:56:30 +00:00
Jonas Bark
f42caaa27b show action results in the UI 2025-11-23 08:33:19 +00:00
Jonas Bark
6da4ee8b76 small refactoring 2025-11-17 12:49:09 +01:00
Jonas Bark
d6c198b0bd allow to ignore HID device input 2025-11-04 10:05:52 +01:00
Jonas Bark
743702f583 support HID key events on Android #110 2025-11-04 09:53:52 +01:00
Jonas Bark
7d0079feea integration #1 2025-10-28 17:58:44 +01:00
Jonas Bark
78cb4c3fb6 cleanup, fixes 2025-10-27 13:43:18 +01:00
Jonas Bark
ff2c77bf2f implement MyWhoosh link in the editor 2025-10-27 12:14:41 +01:00
Jonas Bark
8583a0b9fc adjust changelog and supported devices 2025-10-26 20:11:17 +01:00
Jonas Bark
7337f3ee75 Android: fix touches for very old Android versions 2025-10-19 08:55:15 +02:00
Jonas Bark
92379bfb41 fix issue #101 2025-10-14 09:15:37 +02:00
Jonas Bark
02fbfdc78f refactor device handling to support more devices #1 2025-10-13 10:59:12 +02:00
Jonas Bark
9f37246601 make the UI look nicer 2025-10-10 14:23:14 +02:00
Jonas Bark
b4f592a10b fix delayed clicks in some apps 2025-10-02 21:05:15 +02:00
Jonas Bark
a830b9ceed fix #82 2025-10-01 20:23:02 +02:00
Jonas Bark
4d7778ea53 make connection work on iOS 2025-09-29 10:14:19 +02:00
Jonas Bark
de19176b18 allow long touches / keyboard presses (fixes #61) 2025-09-08 14:01:28 +02:00
Jonas Bark
0b8c4b275b Merge branch 'main' into copilot/fix-61 2025-09-08 12:59:14 +02:00
Jonas Bark
c1d13ac5ea fix logging messages 2025-09-08 12:59:04 +02:00
copilot-swe-agent[bot]
16d905e2b5 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
copilot-swe-agent[bot]
5bda47dae7 Add long press functionality to KeyPair and update UI
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>
2025-09-06 06:46:23 +00:00
Jonas Bark
e2a1ccd3e2 fix button assignment and logging 2025-04-08 08:20:15 +02:00
Jonas Bark
8968dbca9d add some personal preference for MyWhoosh 2025-04-07 15:35:05 +02:00
Jonas Bark
9d25e52b2d Android: support media keys 2025-04-06 11:59:29 +02:00
Jonas Bark
0a40a680dc Android: custom touch mapping for media actions, add keymap for training peaks 2025-04-06 11:10:40 +02:00