Commit ec80c278 authored by Sebastian Spaeth's avatar Sebastian Spaeth
Browse files

README: Fix gdbus test command

It is TriggerFeedback and not Feedback (anymore). Also add a note how to
end the feedback in order to prevent loss of hearing :-).
parent 2674654c
......@@ -57,7 +57,12 @@ gdbus introspect --session --dest org.sigxcpu.Feedback --object-path /org/sigxcp
and to request feedback for an event
gdbus call --session --dest org.sigxcpu.Feedback --object-path /org/sigxcpu/Feedback --method org.sigxcpu.Feedback.Feedback '' 'phone-incoming-call' '[]' 0
gdbus call --session --dest org.sigxcpu.Feedback --object-path /org/sigxcpu/Feedback --method org.sigxcpu.Feedback.TriggerFeedback '' 'phone-incoming-call' '[]' 0
This will return an Event id which you should memorize if you ever want to end the ringtone with:
gdbus call --session --dest org.sigxcpu.Feedback --object-path /org/sigxcpu/Feedback --method org.sigxcpu.Feedback.EndFeedback EVENTID
See `examples/` for a simple python example using GObject introspection.
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