In my interface, I would like to have audio feedback based on button pushes. (Specifically, it's a phone dialer and I want to play DTF tones I have in mp3).
I really can't see a way to do this. Can anyone offer any suggestion?
I don't think you can do it in a standard Kodi numeric input dialog. However, you can create your own custom dial pad with 10 buttons and a text label using
WindowDialog or
WindowXMLDialog class and then add callbacks for your virtual key presses where you can play any sound you want with
xbmc.playSFX().
I would suggest my
PyXBMCt library for creating a custom dial pad, but that's completely up to you.
Hey man, thanks! I already have the interface done, but I will totally check out your library. I think what I was looking for was xbmc.playSFX!