Hello,
I'm working on an Arduino based input device for my Note 5 and am trying to control the volume in Google Music. When I hook up a generic USB keyboard I can press fn + F8/F9 for Vol Down/Up. I'm not sure how to code this into the Arduino tho.
For example:
I have Keyboard.write(' '); for pause/play and Keyboard.write(KEY_RIGHT_ARROW); for next song.
I've tried Keyboard.write(0xEA); for Vol Down but it does nothing.
Same goes for Keyboard.write(0xE9); for Vol Up.
Any suggestions or if you can point me in the right direction it would be much appreciated. I've been reading thru the 'Handle keyboard input' on developer.android.com but can't seem to find my answer. The Arduino I'm working with is 32u4 based if that is of relevance.
Thank you!
I'm working on an Arduino based input device for my Note 5 and am trying to control the volume in Google Music. When I hook up a generic USB keyboard I can press fn + F8/F9 for Vol Down/Up. I'm not sure how to code this into the Arduino tho.
For example:
I have Keyboard.write(' '); for pause/play and Keyboard.write(KEY_RIGHT_ARROW); for next song.
I've tried Keyboard.write(0xEA); for Vol Down but it does nothing.
Same goes for Keyboard.write(0xE9); for Vol Up.
Any suggestions or if you can point me in the right direction it would be much appreciated. I've been reading thru the 'Handle keyboard input' on developer.android.com but can't seem to find my answer. The Arduino I'm working with is 32u4 based if that is of relevance.
Thank you!