Converting Wired Mouse to Bluetooth

sbaker
Posts: 1
Joined: Sun Aug 20, 2023 4:25 pm

Converting Wired Mouse to Bluetooth

Postby sbaker » Sun Aug 20, 2023 4:44 pm

Is there a way to use a dev board to pass through the USB output of a peripheral device, specifically in my case a mouse, over bluetooth? The optical sensor IC on the mouse directly outputs D-/+ USB data to the computer that it's connected to but I would like to be able to connect the mouse to my esp32 and then pass along the information over BT instead.

There are old arduino libraries that allow communication with certain older optical ICs via PS2 protocol but that's outdated and not common anymore. There's the blemouse.h library but that's for hardcoding in specific commands whereas I want the input to still come from the mouse itself. Can data packets be forwarded along or is there some level of processing that would be required prior to the serial communication?

Would appreciate any advice or input as I've spent a lot of time trying to even just get the data from the mouse to print out without any luck. Thanks.

Who is online

Users browsing this forum: No registered users and 126 guests