I've integrated code from the HidKbM project into my own project and have successfully gotten much of it to work. I can Send key presses, consumer control commands, and even move the mouse pointer around on the screen. The remaining issues is that I can't seem to send mouse clicks (Macbook Pro 10.10.5). I have run a bluetooth logger in the background and the computer seems to be receiving the mouse click commands, but no click event actually ever happens.
Does anyone have any thoughts as to what might cause this?