Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
92 user(s) are online (66 user(s) are browsing Forums)

Members: 2
Guests: 90

BSzili, 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
Pegasos2
X5000
X1000
A1222
Sam 440/460
Classic PowerPC Amiga
WinUAE emulation
Qemu emulation
Total Votes: 173
The poll will close at 2025/12/1 12:00
4 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project