Commit 6827b6a0 authored by Daniel Landau's avatar Daniel Landau

ngfd-plugin-droid-vibrator: Customize config to better match ffmemless

parent 36201b06
[droid-vibrator]
# For each string in EFFECT_LIST define a sequence
EFFECT_LIST = touch,short,strong,long,notice,message,attention,alarm,ringtone,default
# Sequence has following syntax:
# sequence_name = <action>=<value>
#
# Actions:
# on - Run vibra for value ms
# pause - Pause for value ms
# repeat - Repeat for value times, or forever for forever
#
# For example, to have vibra run twice for 200ms and pause for 100ms:
# vibra = on=200,pause=100,repeat=1
#
# Used for notifications
short = on=300
strong = on=500,pause=300,repeat=1
touch = on=70
long = on=800
notice = on=100,pause=500,repeat=1
message = on=200,pause=200,repeat=1
attention= on=100,pause=100,repeat=2
alarm = on=1000,pause=500,repeat=forever
ringtone = on=2000,pause=500,repeat=forever
default = on=66
...@@ -3,7 +3,9 @@ HOMEPAGE = "https://github.com/mer-hybris/ngfd-plugin-droid-vibrator" ...@@ -3,7 +3,9 @@ HOMEPAGE = "https://github.com/mer-hybris/ngfd-plugin-droid-vibrator"
LICENSE = "LGPLv2.1" LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://github.com/mer-hybris/ngfd-plugin-droid-vibrator.git;protocol=https" FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
SRC_URI = "git://github.com/mer-hybris/ngfd-plugin-droid-vibrator.git;protocol=https \
file://50-droid-vibrator.ini"
SRCREV = "d841e43dac31bebca3763001ac0ed958271aeb18" SRCREV = "d841e43dac31bebca3763001ac0ed958271aeb18"
PR = "r1" PR = "r1"
PV = "+git${SRCPV}" PV = "+git${SRCPV}"
...@@ -12,6 +14,11 @@ B = "${S}" ...@@ -12,6 +14,11 @@ B = "${S}"
DEPENDS += "ngfd libhybris" DEPENDS += "ngfd libhybris"
do_install_append () {
install -d ${D}/usr/share/ngfd/plugins.d/
cp ${WORKDIR}/50-droid-vibrator.ini ${D}/usr/share/ngfd/plugins.d/
}
inherit cmake inherit cmake
FILES_${PN} += "/usr/lib/ngf/ /usr/share/ngfd/plugins.d/" FILES_${PN} += "/usr/lib/ngf/ /usr/share/ngfd/plugins.d/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment