HID compliant USB gamepads on Retroarch Wii

As the title says, is there any way to implement the HID USB gamepad support that crediar’s nintendon’t has into the retroarch wii code?

I might even try it if someone says that is “doable”. I don’t have any experience in C++ but I can code in Java so as long as I take some time to learn about pointers and stop thinking in classes I could try my luck.

Just some questions. Is gx_input.c the file to edit? I mean, it’s the only one I’ve found that is full of wii/gc gamepad code. Is Crediar’s code safe to modify and implement? I mean, it’s GPL v2, but I don’t know if it could be seen as stealing.

gx_input.c would be the file to edit yes.