05-12-2023, 03:45 PM
(05-09-2023, 12:12 AM)SMcNeill Wrote:(05-08-2023, 09:29 PM)TempodiBasic Wrote: Hi Steve
in the while of the evolution of _DEVICES for multiple sequential use in testing the presence or absence of a USB Joystick
what do you suggest as external OS library? Is Xinput.h useful or do you have some better tips?
Thank you for feedbacks
I tend to use _Devices without any issues with my USB Joystick. Spriggsy had a windows XInput library, which you might give a try, if you want to; otherwise I can't think of anyone else who has a different joystick library off the top of my head.
I had a joystick & keyboard mapping + input library which worked. I just added both versions to my "prolific programmer" page:
- game input mapping system v2.0 for gamepad, keyboard
- game input mapping system v1.0 for gamepad, keyboard
Here are some other solutions / approaches / threads for this (3 of them are yours!):
- Simple, Consolidated Game Device Input by Dbox
- Simple Joystick Input with STICK and STRIG by SMcNeill
- Programmable Keyboard Input by SMcNeill
- Keyboard Library Keyhit vs _KEYHIT by SMcNeill
- Is it even possible to input/output to a USB HID device from qb64?
- Input method clarifications
I'm going to drastically simplify my game input mapping system. We'll see how that goes!