Skip to content

Commit

Permalink
Merge pull request #534 from JamiKettunen/hfd-service
Browse files Browse the repository at this point in the history
porting: configuring: DeviceInfo: add HfdService section
  • Loading branch information
mariogrip committed Dec 18, 2022
2 parents e76b853 + aabe3af commit 48ef1df
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions porting/configure_test_fix/device_info/HfdService.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
.. _DeviceInfo_HfdService:

hfd-service
===========

Overview of all hfd-service keys::

<devicename>:
VibrateDurationExtraMs: <any integer value>

Device quirks
-------------

====================== ============================================= ==================
Key Description Value(s)
====================== ============================================= ==================
VibrateDurationExtraMs Milliseconds to extend all vibration calls by Any integer number
====================== ============================================= ==================

Examples
--------

Device ``sample`` using:

- Extend vibrations by 50 milliseconds to feel the on-screen keyboard haptics on devices with simpler on/off vibration motors

Config file::

$ cat /etc/deviceinfo/devices/sample.yaml
sample:
VibrateDurationExtraMs: 50
1 change: 1 addition & 0 deletions porting/configure_test_fix/device_info/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ Other keys are documented in the component specific subpages.

Mir
Repowerd
HfdService

0 comments on commit 48ef1df

Please sign in to comment.