Devin Lin
cd7dd7c8e5
Guard coroutine calls
...
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/480
This ensures that coroutines are properly guarded against object
deletion.
2026-01-13 09:41:08 -05:00
Devin Lin
0e09a434ef
hapticsplugin: Use QCoro::QmlTask
...
This avoids the following error for haptic events when used from QML:
```
QVariant: Provided metatype for 'QCoro::Task<void>' does not support destruction and copy construction
```
2025-09-14 14:35:52 -04:00
Devin Lin
72284989f8
hapticsplugin: Port to feedbackd
...
This is an initial port to feedbackd for the haptics plugin.
This implementation is a simple port to have the motor enabled for a certain duration. We will eventually want to use feedbackd events to trigger these instead.
Related MR for qtfeedback: https://invent.kde.org/jbbgameich/ktactilefeedback/-/merge_requests/2
https://invent.kde.org/teams/plasma-mobile/issues/-/issues/10
2025-05-22 11:45:44 -04:00
Devin Lin
c4b49cf086
hapticsplugin: Only initialize dbus interface if used
...
Only create dbus interface when needed to avoid wasting resources.
2024-10-31 03:27:36 +00:00
Devin Lin
83ce339cda
components/hapticsplugin: Introduce direct haptics API for hfd-service
...
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/270
Introduce a direct haptics API for now for shell usage, and port to it. Also remove the vibration intensity setting as that didn't do anything.
2023-11-15 08:13:25 -08:00