OS/2, eCS & ArcaOS - Technical > Games
DOS VDM - USB and Game port Gamepad support
Martin Iturbide:
--- Quote from: Martin Iturbide on June 13, 2022, 05:01:37 pm ---Hi
It was time to also give a test drive to the "Genius MaxFighter F-31U Vibration" with ArcaOS.
I took the "RM203" files and copy it as "MAXFIG".
Added:
--- Quote ---DEVICE=X:\OS2\BOOT\USBECD.SYS /D:0458:3019:0100 /N:$MAXFIG$ /V
--- End quote ---
Changed the oinput and xevents and I got some output there.
But I overestimated the difference between a joystick and gamepad. It seems that the joystick has something different that is always "pressing". Even that I got different visual feedback when I press the buttons, I was not able to make Makman and Wolfstein 3D to work with the RM203 scripts, also the DOS game joytest utilities does not provide any movement.
I'm attaching the scripts and log just in case.
Regards
Funny Note: I had to check the online dictionary to know what is a "Rudder" and I still does not know what does it do on a Joystick ;D
--- End quote ---
Hi
I want to give it a try again to this joystick, "Genius MaxFighter F-31U Vibration", but this time following back Wim's testing documentation.
Keystrocks are recognized by OINPUT from "MaxFig", but there is like a permanent noise of something moving.
- BUTTON.LOG was generated by pressing from 1 to 10 according the image.
- STICK.LOG was Up, Down, Left, Right with the joystick
- HAT.LOG was Up, Down, Left, Right with the "hat"
- SPEED.LOG was Increase (up) and Decrese (down)
- RUDDE.LOG was with RUDDER on top left, move it to top right.
Wim, I don't know if you can get the keystrocks with all the noise that made the joystick.
Regards
David McKenna:
OK, got some test logs in DirectInput mode with my Logitech F310 gamepad. Each control string is still the same: 144 digit hexadecimal. But they are different values from XInput mode. Also, the 'Logitech' button has no output, but the 'Mode' button does in DirectInput mode. Finally, the triggers on the front at the bottom are simple on-off buttons in DirectInput mode (not continuous).
I used the same format as before, like this:
Started with buttons in this order: LB, RB, Back, Mode, Start, A, B, X, Y: 'DIbuttons.txt'. These are all on-off. The 'Logitech' button does not produce any output so not included.
Then the 2 front triggers in this order: LT, RT - pulled them all the way on, then all the way off one at a time: 'DItriggers.txt'. These are on-off buttons in DI mode..
Next the thumbpad at top left in this manner: forward, 45deg clockwise, 90 deg clockwise etc.: 'DIleftpad2.txt'. This is a 8-way on-off button.
Now each joystick separately this way: press all the way forward - let go, then all the way backward-let go, then all the way left-let go, then all the way right- let go: 'DIrightstick.txt' and 'DIleftstick.txt'. These are continuous.
Finally, the joysticks are also on-off buttons when pressed down - did the left then right stick button: 'DIjoybutton.txt'.
HTH- would be good if Dave Yeo could confirm his works with similar settings...
Regards,
Martin Iturbide:
Hi David.
Can you also post the USB hardware report of the Logitech F310 Gamepad? You can use lsusb.
I want to add the info on a wiki page.
Regards
David McKenna:
Hi Martin,
Here it is attached...
Regards,
Martin Iturbide:
Hi Mark
Just for my records and wiki pages, can you please let me know the list of the joystick devices that you have that you consider that are working fine?
On my side I have:
- Huskee PSX Adapter - 0c12:0005
- PCS SNES Gamepad - 0810:e501
According to you guide you have:
- Logilink Gameport to USB converter
- Thrustmaster T. Flight Stick X
And I guess that Wim Brul tested the:
- Manta MM812
Mark, can you help me with the HardwareIDs for your two devices?
By the way, I think I will have some time this Saturday and I will go and check all the OS/2 Native games from my OHFOWG project to look for more games with joystick support.
Regards
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version