Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
60 user(s) are online (49 user(s) are browsing Forums)

Members: 1
Guests: 59

Rigo, more...

Support us!

Headlines

 
  Register To Post  

« 1 2 (3)
Re: SuperMario64 port to OS4 anyone?
Quite a regular
Quite a regular


See User information
@capehill
Thanks for the info. But, mednafen is build with SDL2/GL4ES and so is SM64. Mednafen works with my controller and SM64 does not. So I am just wondering why there is that difference.

Go to top
Re: SuperMario64 port to OS4 anyone?
Just can't stay away
Just can't stay away


See User information
@rjd324

Maybe mednafen uses joystick subsystem but SuperMario64 uses gamecontroller subsystem? Gamecontroller needs mappings and there is a tool in SDL2 archive that can be used to generate those.

Go to top
Re: SuperMario64 port to OS4 anyone?
Quite a regular
Quite a regular


See User information
@capehill
Thank you. That is indeed the situation.

So, if SDL_INIT_JOYSTICK works with controllers that are not part of that database file, why are we not always using SDL_INIT_JOYSTICK? No doubt there will be features that are not available with it.

What about using it as a fallback though.

Thanks.

Go to top
Re: SuperMario64 port to OS4 anyone?
Just can't stay away
Just can't stay away


See User information
@rjd324

They are different APIs, in other words game has to implement one of them.

If you want, you may be able add SDL_Joystick support by referring to SDL1 code: https://github.com/sm64pc/sm64ex/blob/ ... troller/controller_sdl1.c

Just a guess, I have no clue about this project.

Go to top

  Register To Post
« 1 2 (3)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
6 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project