I just got a basic game controller (XBox/PC) which I am integrating into an existing app to be used for semi remote and quick access to functions
so, the operator can be doing other things instead of finger banging the keyboard.
Anyways, I got a basic unit and wrote some code for windows using the JoyStick functions in the mmsystem unit.
Everything seems to work, I can get the button number codes on any of the buttons and axes values etc.
However, a couple of times, I received a button code of 1024 which is button 11 in the mmsytem file. From my test I don't have a Button11/1024
on the controller but I managed twice to somehow get the controller locked into this position whereas any other button pressed would just add to it
but this 1024 never went away no manner the combo of buttons I tried.
Repowering the controller corrected it.
I am not a gamer so is there something I don't know about like locking a button on that does not actually exist that I don't know about?