I am trying to make a "keyboard" with my Arduino Mini Pro and a RN-42 HID Bluetooth module. I can connect to it with my MacBook and it shows up as a Bluetooth keyboard. Also, I can press buttons and it sends commands.
Perfect right?
Unfortunately not... I don't know how to code the bytes I need to send to the module to tell it key presses and key releases. I have been reading through every Bluetooth RN-42 manual I can get my hands on, but I don't completely understand what I should be sending to the Bluetooth module. I have been searching using Google Search the past few weeks too, and I can not find any C code that would help me. As far as I know USB keypresses are sent as arrays of hex. Is this right? If so, how would I code that?