In case anyone else or OP is still looking for a solution, this worked for me together with the macro droid helper apk. I'm sure it's possible to get this into a single program, but this was the easiest way for me. There is of course the issue of this only working with a single Bluetooth...