Replies: 2 comments 5 replies
-
To be honest, it does sound like some kind of wrapping issue. Joystick support is largely handled by SDL itself, although this may be a mapper issue. Do you know if other SDL programs are able to handle the controller properly? For instance a recent development build of DOSBox Staging? |
Beta Was this translation helpful? Give feedback.
3 replies
-
I wanted to finish my episode of Beavis and Butthead (Black Sabbath was on..), so I wrote the PR. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is admittedly somewhat vague and ill-formed, not yet to the level of a bug report.
Off the bat:
I have a relatively standard modern HOTAS setup that I am mapping via 2axis. Broadly speaking, it works, but I have a very odd thing happening and I wonder if people might have some insight.
On my throttle, it has ALL THE BUTTONS. Seriously, it's 5 axes, 79 buttons. (VKB STECS MAX)
When trying to map things, I'll map some button, say 15 to a keyboard press (we'll call the key K here). Works fine. Mapper sees it, mapper blinks the light when I press it, and then it works in game.
I then go to map more buttons, all works fine. But then I hit another one, say, 52. Now, 52 isn't bound to anything. But, if I press it, the key mapped to 15 lights up! Indeed, if I then bind it to something (we'll call that key L here), the mapper reports having bound 15!
If I have the mapper open in a window, and
jstest-gtk
open in another window, I'll press 15:jstest-gtk
, button 15 illuminates, registering a press there.But, if I press 52:
jstest-gtk
, button 52 illuminates, registering a press there.So,
jstest-gtk
can distinguish between the two buttons, but DOSBox-X seemingly cannot.There's also no rhyme or reason to it. My first thought was that it might be a wrapping issue - say, everything over X gets wrapped to N % X because the input button indices are limited to some limit (kind of like how
buttonwrap
works, but on the input, rather than output, side), but I've had there be "duplicate" buttons right in the middle of a range that otherwise maps just fine (of course, I haven't mapped all the buttons, only some).Any thoughts? Even just a "look at this bit of code and change that and see if it makes a difference" would be appreciated.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions