Skewjo / SysLat_Firmware

Arduino firmware for SysLat project
6 stars 3 forks source link

Turn device into an HID device #6

Open Skewjo opened 3 years ago

Skewjo commented 3 years ago

I believe HID functionality may run at lower level layers of the OS and may achieve different (faster) read/write times, especially for games.

Skewjo commented 3 years ago

I'm still a bit confused on what exactly the differences are between COM and HID devices (yeah, yeah, I know that's redundant), but from what I can tell, an HID can(should?) be recognized in a machine's BIOS. Apparently obtaining "true" HID behavior through an Arduino is not quite straightforward.

This forum post: https://forum.arduino.cc/index.php?topic=565711.0 Leads to this forum post: https://forum.arduino.cc/index.php?topic=545288.msg3717028#msg3717028 Which leads to this repo: https://github.com/gdsports/usb-metamorph/tree/master/USBSerPassThruLine

The long and short of it is that the guy is trying to get an Arduino to function as a keyboard on some device, but: image

Is composite where COM comes from?? I thought COM meant "Communication"... Anyways.

In the first forum post the user gdsports gives a few instructions on how to get the device changed over to HID. Going to attempt to follow them today.

Skewjo commented 3 years ago

Also, here's the main open source HID library that Google will guide you to: https://github.com/NicoHood/HID

I'm unsure what the difference is between this project and the USBSerPassThruLine project mentioned above as far as HID functionality goes.

I'm thinking either:

  1. The NicoHood HID project came out later and/or user gdsports was not aware of it. -or-
  2. The NicoHood HID project achieves some kind of pseudo-HID functionality while retaining the same "composite descriptors"
Skewjo commented 3 years ago

Created a forum posts over on the arduino forums asking these questions: https://forum.arduino.cc/index.php?topic=728721.msg4901811#msg4901811

Skewjo commented 3 years ago

...and I was almost immediately banned from the forum even though I specifically mentioned "if this post is too 'promotional' please let me know and I will amend it"

image

F***.