Code to combine Button Readouts with HID Enhanced by Nicohood ?

Hi all

i am currently planning my project which is a buttonbox for simracing.

Coding for me is the hardest part, electronics side is clear to me.

I'm gonna use a arduino leonardo for this project because it has more pins and is compatible with the enhanced HID Nicohood.de made.

What i understand mostly is how to install his code to the leonardo and some simple code to read out the button presses.

But what is completely unclear is how i have to combine those two.
What code would be needed to send the button readouts to the gamecontroller button number in windows ?

Sadly my arduino hasn't arrived yet, so i can't just try to figure this out.
So i hope this noob question is not too annoying.

cheers

Hi,
Can you provide some info/links about what you want to interface, Nicohood means nothing .. without info.

Tom.... :slight_smile:

Sorry for that, here is more information.

Nicohood HID

I wanna use his Gamepad Hid Device on my arduino leonardo which will have a few pushbuttons,rotary encoders connected.

In the end, if i press a button it should show up in the usual windows gamecontroller window, so i can use the buttons in sims.

i saw some code how to read buttonmatrix or rotary encoders from the pins, but how to send them correctly through that usb device, i have no clue yet.

My arduino just arrived. It is only a Uno, i need for something else, but that shouldn't be any different.

I hope someone can direct me.