hid-remapper icon indicating copy to clipboard operation
hid-remapper copied to clipboard

Is it possible to emulate another device?

Open dberrocal-git opened this issue 1 year ago • 1 comments

Hey thanks for your work.

I have an embedded system that only accepts one type of USB mouse and keyboard (generic, in terms of functionality, but replacement is expensive), I was wondering if using this idea of making hid remap I could replicate the descriptor, vid, pid of the original device so I can use any cheap device.

Looking at the code, if I modify our_descriptor to match one to one should that be enough? In plain, it would be an imitation or spoof of the original device.

I would like to clarify this before purchasing hardware.

Again, thank you for your time and effort :)

dberrocal-git avatar Jun 22 '24 00:06 dberrocal-git

Emulating a specific VID/PID and descriptor is possible the way you described. You might need two though if you want to emulate two different devices. And of course I can't guarantee it will work with your embedded system, but I think it's worth a try.

jfedor2 avatar Jun 22 '24 01:06 jfedor2