Thursday, January 5, 2017

C# emulate HID powerpoint clicker bluetooth

Leave a Comment

I need some guidance on how or whether this is possible to achieve without a "server" application running on the pc. I have gotten as far as establishing a bluetooth connection to the PC, I would like to send HID commands to control a slideshow similar to how a clicker works.

3 Answers

Answers 1

The PDF outlined by this link is an excellent, detailed, platform-agnostic resource on sending HID commands via a Bluetooth connection. It talks about having your device set up as a server, and what the relevant commands to send over the link. So, to answer #1 - it is possible. 2 this document outlines how it is done.

Answers 2

while it is possible, as far as I know, under windows that would involve either

if you have an external HID module, it's easy, just talk to it via rs232 (serial), and it will send whatever you want, though you will need to buy some hardware.

it seems like you can get away with just patching the windows bluetooth driver instead of writing one. https://nadavrub.wordpress.com/2015/07/17/simulate-hid-device-with-windows-desktop/

If you have access to linux instead, using a already available library for that would probably be the safest and easiest.

Answers 3

I think you can use

https://msdn.microsoft.com/en-us/library/ms171548(v=vs.110).aspx

to simulate mouse events with the same effect as a powerpoint click and as for the bluetooth, I'm not sure.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment