Conversation
|
Thank you so much for this patch, works great for me. I was tearing my hair out trying to figure out why my Raphnet adapter was working in Windows and Steam but not sm64ex. Some extra color for anyone else new to MSYS2: before installing, run: pacman -S mingw-w64-x86_64-hidapi |
|
Isn't the HIDAPI support that's in SDL2 enough for this? You might have to rebuild libsdl2 with HIDAPI enabled if it's not enabled by default on Windows builds, but it should work with Raphnet controllers. |
|
tutorial plz :C |
|
If you're on 64-bit Windows, first install HIDAPI by running: Then to compile with Raphnet support enabled, in the sm64ex directory run: |
|
This patch is essentially just the RaphnetRaw emulator input plugin with some frontend code to get it to work with sm64ex. This plugin allows the game to read the controller inputs the same way an n64 would, which means that you don't need to set up button mappings and the stick values are perfectly accurate. Without this patch I was only get my Raphnet adapter to work with sm64ex by using a program like x360ce. |
Add support for the direct controller access feature of N64 to USB Raphnet adapters (version 3+).
To enable, install the hidapi package and compile with flag
CONTROLLER_API=RAPHNET.