Currently, the Twiddler tuner has a syntax
<Keycode NN>
which allows the user to send any code on the Keypad HID code page (page 0x07). This is great!
However, nowadays, we have got used to bluetooth keyboards with more generalized keys, such as media keys (play, stop etc) which come from a different HID code page and, thus, can't be sent by the Twiddler.
In particular, three buttons which are extremely important for Android devices: home, menu and back, can't be sent. In many cases you can amend this code page problem by letting the Twiddler send a code from page 0x07 and re-map this in your device to the wanted action. However, this is for example not possible for Android Home since this key is handled by the Android framework itself and not passed on to an application.
I propose to add a new syntax:
<HIDcode PAGE NN>
which sends the code NN from the HID code page PAGE. Thus,
<Keycode NN>
could now be written:
<HIDcode 0x07 NN>
As an example, Android Home, which corresponds to AC Home on page 81 here:
http://www.usb.org/developers/hidpage/Hut1_12v2.pdf
can now be written:
<HIDcode 0x0c 0x223>
As another example, the key "a" could be written as either:
a
<Keycode 4>
<HIDcode 0x07 0x4>
It seems to me that this little extension to the syntax creates a lot of flexibility. Please give it to us, please!