Frontend Tech + >> HBMAME / ARCADE64 / MESSUI
View all threads Index   Threaded Mode Threaded  

Pages: 1

ci2own
MAME Fan
Reged: 03/25/15
Posts: 4
Send PM


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!



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3203
Loc: A long way from you
Send PM


Re: Problems Compiling HBMAME with DirecInput new [Re: ci2own]
#349274 - 01/15/16 02:24 AM


-



ci2own
MAME Fan
Reged: 03/25/15
Posts: 4
Send PM


Re: Problems Compiling HBMAME with DirecInput new [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!



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3203
Loc: A long way from you
Send PM


Re: Problems Compiling HBMAME with DirecInput new [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 new [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 "#"



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3203
Loc: A long way from you
Send PM


Re: Problems Compiling HBMAME with DirecInput new [Re: redk9258]
#349296 - 01/16/16 02:55 AM


-



ci2own
MAME Fan
Reged: 03/25/15
Posts: 4
Send PM


Re: Problems Compiling HBMAME with DirecInput new [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


Pages: 1

Frontend Tech + >> HBMAME / ARCADE64 / MESSUI
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert 
0 registered and 63 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3295