Skip to content

SDL2 support#8

Merged
fredbcode merged 10 commits intofredbcode:masterfrom
sergiobenrocha2:master
Mar 23, 2015
Merged

SDL2 support#8
fredbcode merged 10 commits intofredbcode:masterfrom
sergiobenrocha2:master

Conversation

@sergiobenrocha2
Copy link
Copy Markdown

I did some tests, I think it's in a good shape.

SDL 1.2 support was dropped.

@sergiobenrocha2
Copy link
Copy Markdown
Author

Take a look at the google groups too.

fredbcode added a commit that referenced this pull request Mar 23, 2015
@fredbcode fredbcode merged commit 6308112 into fredbcode:master Mar 23, 2015
@fredbcode
Copy link
Copy Markdown
Owner

Great thanks

@fredbcode
Copy link
Copy Markdown
Owner

Hi Sergio,

Maybe I made something wrong, but there is something wrong now with usb pad (no matter the model)
Steps to reproduce easily:

1 - Remove config.xml
2 - start cabrio -> Wizard doesn't see the pad
3 - Return to the "old" binary all is ok

Any idea ?

@sergiobenrocha2
Copy link
Copy Markdown
Author

It's an SDL2 issue, take a look at https://groups.google.com/forum/#!topic/cabrio-fe-dev/O2jHwIUVV5o

If you Alt+Tab, it'll work.

@fredbcode
Copy link
Copy Markdown
Owner

Yes I saw sorry for the noise
Very bad news ...

@sergiobenrocha2
Copy link
Copy Markdown
Author

I wonder if there is some workaround for this issue.

@fredbcode
Copy link
Copy Markdown
Owner

Really annoying, cabrio-fe is unusable in mamecab
It surprises me that there is not more complaint SDL 2.0.2 is very popular

@sergiobenrocha2
Copy link
Copy Markdown
Author

Found an workaround, calls cabrio on terminal with:

SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS=1 cabrio

@fredbcode
Copy link
Copy Markdown
Owner

Sergio,
Maybe we can change the code to add SDL_setenv("SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS", "1", 0); before SDL_INIT_JOYSTICK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants