Thread
:
Python - Using Bluetooth/Wired Headset Answer Button
View Single Post
thp
2012-06-22 , 23:13
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#
21
Have a look at the MediaButtonsHandler here:
https://github.com/gpodder/gpodder/b...mlui/helper.py
You can even remove all the Qt stuff around it, and just use the "dbus" module (be sure to use a GLib or Qt main loop though, as you are connecting to signals).
HTH
Quote & Reply
|
The Following 2 Users Say Thank You to thp For This Useful Post:
MartinK
,
misiak
thp
View Public Profile
Send a private message to thp
Visit thp's homepage!
Find all posts by thp