Thread
:
[Request]: Map a hardware key to 'call answer'
View Single Post
hawaii
2010-06-27 , 20:59
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#
4
It's doable with the camera key. Install shortcutd and set the trigger to a custom command.
The call you'll want to run is;
dbus-send --system --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call/1 com.nokia.csd.Call.Instance.Answer
You'll need to intercept the camera button for a full depress.
It would be much nicer if it was possible to pickup/hangup using the power button since it's a single stage button but from sniffing dbus, nothing seems to trigger when it's pressed unfortunately.
Last edited by hawaii; 2010-06-27 at
21:05
.
Quote & Reply
|
The Following 2 Users Say Thank You to hawaii For This Useful Post:
lostinmirkwood
,
tHMZ
hawaii
View Public Profile
Send a private message to hawaii
Find all posts by hawaii