286
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: December 08, 2021, 03:11:52 pm »
Hi Jochen
Have you posted the updated hidapi? Didn't see it attached to any of the posts at the moment, and might want to see if it can see my joystick.
Haven't been following this much, as I've been busy at the moment fixing a sick printer - got a Printer Error 59.99 on my HP3500, which means tearing down the entire printer, to replace about 5 cents of worn padding on a solenoid. Takes about 12 hours ............ tedious work.
I recommend HP service manuals to anyone brave enough to undertake things like this _ very detailed.
Best!
M
No, I used the version included in SDL2 with your wcsdup implementation. I'm now trying to compile the included hidapi, and test with that.lsusb shows the joystick, but SDL2 doesn‘t. Since I don’t use hidapi directly, it have no error message.
Did you compile it yourself or use the one I compiled? Anyways here's the last version I compiled, used a different wcsdup() based on https://github.com/bitwiseworks/libc/issues/118 and hacked to not use iconv(). Test program and diff included.
Edit: fix typo
EDIT: I used hidtest from your version, but it says it cannot open the device.
BTW: Why do we have a lot wcs function,but not wcsdup?
Have you posted the updated hidapi? Didn't see it attached to any of the posts at the moment, and might want to see if it can see my joystick.
Haven't been following this much, as I've been busy at the moment fixing a sick printer - got a Printer Error 59.99 on my HP3500, which means tearing down the entire printer, to replace about 5 cents of worn padding on a solenoid. Takes about 12 hours ............ tedious work.
I recommend HP service manuals to anyone brave enough to undertake things like this _ very detailed.
Best!
M