Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05908 DIP/Input Minor Always Apr 4, 2015, 23:10 Apr 21, 2015, 18:31
Tester Ashura-X View Status Public Platform MAME (Official Binary)
Assigned To Resolution Unable to reproduce OS Windows XP
Status [?] Closed Driver
Version 0.160 Fixed in Version Build Normal
Fixed in Git Commit Github Pull Request #
Summary 05908: Microsoft Sidewinder serial game port doesn´t works!
Description I can´t map the buttons or axis from my old MS Sidewinder gamepad on last 0.160 binary.
Tried with TAB menu and when trying to select a button or direction on main menu that doesn´t works!
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
8
User avatar
No.11563
Mamesick
Senior Tester
Apr 5, 2015, 06:01
I guess this is because MAME switched from DIRECTINPUT 7 to DIRECTINPUT 8 by default. I read on some forums this happened to a lot of people. If you know how to modify source code, you should be able to re-enable old DIRECTINPUT define by yourself.
User avatar
No.11564
Ashura-X
Tester
Apr 5, 2015, 17:14
You mean src/osd/windows/input.c ?
I´ve managed to change #define FORCE_DIRECTINPUT 0 to 1 but nothing changed ...
User avatar
No.11567
Mamesick
Senior Tester
Apr 6, 2015, 12:39
No, you have to look at WINDOWS.MAK. IIRC there should be a DIRECTINPUT = 8 define which has to be commented out.
User avatar
No.11568
Ashura-X
Tester
Apr 6, 2015, 13:54
I got the file on old 0.160 source but on the new git its gone.
User avatar
No.11588
Mamesick
Senior Tester
Apr 8, 2015, 11:14
For the new GIT, have a look in MAKEFILE. What to do to enable old DIRECTINPUT 7 should be there.
User avatar
No.11589
Ashura-X
Tester
Apr 8, 2015, 13:33
edited on: Apr 8, 2015, 13:36
Strange but there is already like # DIRECTINPUT = 7

On src\scripts\src\osd\windows.lua there is some reference too about DIRECTINPUT:

newoption {
trigger = "DIRECTINPUT",
description = "Minimum DirectInput version to support",
allowed = {
{ "7", "Support DirectInput 7 or later" },
{ "8", "Support DirectInput 8 or later" },
},
}

if not _OPTIONS["DIRECTINPUT"] then
_OPTIONS["DIRECTINPUT"] = "7"
end

Change to 7 but still not enable to compile due a error on git tree
User avatar
No.11606
Ashura-X
Tester
Apr 16, 2015, 11:33
Compiled the 32 bits version here using last GIT without the # DIRECTINPUT = 7 flag and my joy still no works .....
User avatar
No.11620
Ashura-X
Tester
Apr 21, 2015, 17:05
Problem solved! Just need to erase old .cfg and nvram files from the respective folders! Please, close the thread!