我想做的是在运行Android Pie的Raspberry Pi上使用Tasker(或其他任何工具)用音量键(usb手机)接听whatsapp语音呼叫,我已经按照以下步骤操作,并且交换工作正常正确,但是当来电响起时,它似乎不起作用并且无法执行此操作,希望有人可以解决此问题,在此先感谢!
Whatsapp Answer (6)
A1: [X] Play Ringtone [ Type:Notification Sound: Stream:5 ]
A2: Run Shell [ Command:input swipe 275 575 275 400 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A3: Take Call
Profile: Answer (7)
Restore: no
Event: Volume Long Press [ Type:Volume Down Additional Time (Check Help):* ]
Enter: Whatsapp Answer (6)
A1: [X] Play Ringtone [ Type:Notification Sound: Stream:5 ]
A2: Run Shell [ Command:input swipe 275 575 275 400 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A3: Take Call
答案 0 :(得分:1)
我能够使用Button Mapper应用程序解决此问题,通过该应用程序,我已将vol键与Headerhook键代码键绑定在一起。