|
Problems Compiling HBMAME with DirecInput
#349264 - 01/14/16 08:04 PM
|
|
|
Hi! I'm trying to compile HBMAME with DirecInput but there's no way.
I have changed FORCE_DIRECTINPUT to 1 in source_dir/src/osd/windows/input.cpp file before compile and it seems it doesn't work either.
What i'm doing wrong? Thanks in advance!
|
|
|
|
Re: Problems Compiling HBMAME with DirecInput
[Re: ci2own]
#349274 - 01/15/16 02:24 AM
|
|
|
|
|
Re: Problems Compiling HBMAME with DirecInput
[Re: Robbbert]
#349278 - 01/15/16 05:59 AM
|
|
|
It compiles good, but it seems it doesn't work with xpadder.
I have changed in Makefile this line
# DIRECTINPUT = 7
to
DIRECTINPUT = 7 (WITHOUT #)
and in file src/osd/windows/input.cpp this line
#define FORCE_DIRECTINPUT 0
to
#define FORCE_DIRECTINPUT 1 (WITH #)
then i did:
make TARGET=hbmame OSD=winui
Maybe i'm doing something wrong as is the first time i compile in windows. (I do it with official mame tools as it sais in hbmame homepage.
Thanks in advance!
|
|
|
|
Re: Problems Compiling HBMAME with DirecInput
[Re: ci2own]
#349285 - 01/15/16 10:13 AM
|
|
|
|
redk9258 |
Regular
|
|
|
Reged: 09/21/03
|
Posts: 3968
|
Loc: Troy, Illinois USA
|
|
Send PM
|
|
|
Re: Problems Compiling HBMAME with DirecInput
[Re: ci2own]
#349290 - 01/15/16 11:44 PM
|
|
|
> It compiles good, but it seems it doesn't work with xpadder. > > I have changed in Makefile this line > > # DIRECTINPUT = 7 > > to > > DIRECTINPUT = 7 (WITHOUT #) > > and in file src/osd/windows/input.cpp this line > > #define FORCE_DIRECTINPUT 0 > > to > > #define FORCE_DIRECTINPUT 1 (WITH #) > > > then i did: > > make TARGET=hbmame OSD=winui > > Maybe i'm doing something wrong as is the first time i compile in windows. (I do it > with official mame tools as it sais in hbmame homepage. > > Thanks in advance!
Wouldn't you need...
define FORCE_DIRECTINPUT 1
...no "#"
|
|
|
|
Re: Problems Compiling HBMAME with DirecInput
[Re: redk9258]
#349296 - 01/16/16 02:55 AM
|
|
|
|
|
Re: Problems Compiling HBMAME with DirecInput
[Re: Robbbert]
#349355 - 01/17/16 04:33 PM
|
|
|
You're right Robbbert, # is needed. If not i get an error.
I used TARGET=hbmame (only) to get hbmame, and then TARGET=hbmame OSD=winui (again to get hbmame gui).
It compiles perfect. My problem is i need to user direcinput to use controllers through hyperspin and without recompile it there's no way. (After changing to force it to use directinput still doesn't work)
Thanks for your answers
|
|
|