mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
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.
32 lines
1,023 B
XML
32 lines
1,023 B
XML
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
|
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
|
<!--
|
|
SPDX-FileCopyrightText: 2020 Marius Gripsgard <marius@ubports.com>
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
-->
|
|
<node name="/com/lomiri/hfd">
|
|
<interface name="com.lomiri.hfd.Vibrator">
|
|
<method name="vibrate"/>
|
|
<method name="vibrate">
|
|
<arg name="durationMs" type="i" direction="in" />
|
|
</method>
|
|
<method name="rumble">
|
|
<arg name="durationMs" type="i" direction="in" />
|
|
<arg name="repeat" type="i" direction="in" />
|
|
</method>
|
|
</interface>
|
|
<interface name="com.lomiri.hfd.Leds">
|
|
<method name="setState">
|
|
<arg name="state" type="i" direction="in" />
|
|
</method>
|
|
<method name="setColor">
|
|
<arg name="color" type="u" direction="in" />
|
|
</method>
|
|
<method name="setOnMs">
|
|
<arg name="onMs" type="i" direction="in" />
|
|
</method>
|
|
<method name="setOffMs">
|
|
<arg name="offMs" type="i" direction="in" />
|
|
</method>
|
|
</interface>
|
|
</node>
|