You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\a\nim-gamepad\nim-gamepad\src\libstem_gamepad\source\gamepad\Gamepad_windows_mm.c:32:9: error: unknown type name 'JOYINFOEX'
32 | JOYINFOEX lastState;
| ^~~~~~~~~
D:\a\nim-gamepad\nim-gamepad\src\libstem_gamepad\source\gamepad\Gamepad_windows_mm.c:95:53: error: unknown type name 'JOYCAPS'
95 | static char * getDeviceDescription(UINT joystickID, JOYCAPS caps) {
| ^~~~~~~
D:\a\nim-gamepad\nim-gamepad\src\libstem_gamepad\source\gamepad\Gamepad_windows_mm.c: In function 'Gamepad_detectDevices':
D:\a\nim-gamepad\nim-gamepad\src\libstem_gamepad\source\gamepad\Gamepad_windows_mm.c:[14](https://github.com/konsumer/nim-gamepad/actions/runs/4923070589/jobs/8794479972#step:5:15)7:9: error: unknown type name 'JOYINFOEX'; did you mean 'CPINFOEX'?
147 | JOYINFOEX info;
| ^~~~~~~~~
| CPINFOEX
I am trying to build at the very least in Github action, because I don't have a Windows box to test on, easily.
Hi,
I love this library. Super-simple and seems to work, well. I made a nim-wrapper here.
Usage looks like this:
You can see an example here.
I could probly wrap things further to deref things, and convert non-nim ints and things, but this works ok for my purposes.
The text was updated successfully, but these errors were encountered: