Giter Club home page Giter Club logo

Comments (19)

whitedragon0000 avatar whitedragon0000 commented on June 30, 2024 1

Big thanks!!
I can close this bug finally!!

from openbor.

dbaldan avatar dbaldan commented on June 30, 2024

Can't we revert the sdl update?

from openbor.

whitedragon0000 avatar whitedragon0000 commented on June 30, 2024

But in old sdl2 we have other bugs...
We need to know hot to fix it...

from openbor.

dbaldan avatar dbaldan commented on June 30, 2024

Seams to be related with SDL2 itself, not an OpenBOR bug.

Take a look at this, maybe this helps:
https://discourse.libsdl.org/t/touch-input-jitter-on-android/21760
https://forums.libsdl.org/viewtopic.php?p=50274

from openbor.

whitedragon0000 avatar whitedragon0000 commented on June 30, 2024

I see... Thanks for your help O'!
I will open a new thread in sdl2 forum..

from openbor.

whitedragon0000 avatar whitedragon0000 commented on June 30, 2024

Opened: https://discourse.libsdl.org/t/android-touch-issue-after-update-sdl-from-2-0-1-to-2-0-8/24142
I noticed that the problem is not exists on stretched screen.
Anyone can help me?

from openbor.

dbaldan avatar dbaldan commented on June 30, 2024

@whitedragon0000 you mean that non-wide screen modules do work if they aren't stretched out?
I don't have any non-wide module on my phone and, as far as I know, I can't change the video settings.

Here are my settings https://imgur.com/pO0e5Gc

from openbor.

whitedragon0000 avatar whitedragon0000 commented on June 30, 2024

Change preserve aspect ratio

from openbor.

dbaldan avatar dbaldan commented on June 30, 2024

BINGO. It works!
Instead of "preserve aspect ratio", if you choose "stretch", the control lag is gone.

from openbor.

whitedragon0000 avatar whitedragon0000 commented on June 30, 2024

Yes! But now... We need to know... Why??
I think that we need to have a surface base under the main game surface to fill all screen.
Now I can't compile...

from openbor.

whitedragon0000 avatar whitedragon0000 commented on June 30, 2024

Actually I have no idea how to fix the SDL bug...

from openbor.

dbaldan avatar dbaldan commented on June 30, 2024

Dunno.if this version is old, but the custom build his has made doesn't have this lag
http://www.chronocrash.com/forum/index.php?topic=2025.msg52623#msg52623

from openbor.

msmalik681 avatar msmalik681 commented on June 30, 2024

That stand alone version was based on build v4699 as there was so much talk about input lag on latest version.

I do not think the issue is input lag but a performance issue as I used a update script on my Tekken mod and it was not working right like system tics were being missed. So if system tics are being missed it would also miss some inputs. I will do some test to see how the new custom build works on the latest openbor build.

@wd can you confirm if we are running the latest opengl es 3.1 on openbor ? If not could it be upgraded ?

have you incorporated "SDL_ANDROID_BLOCK_ON_PAUSE" as this would be needed for adverts to run over the app.

from openbor.

whitedragon0000 avatar whitedragon0000 commented on June 30, 2024

SDL_ANDROID_BLOCK_ON_PAUSE is on by default.
The touch issue is not a lag but maybe some bug on x, y returned values of touch from sdl.
I can't find a solution for now...

from openbor.

whitedragon0000 avatar whitedragon0000 commented on June 30, 2024

Here the SDL topic:
https://discourse.libsdl.org/t/android-touch-issue-after-update-sdl-from-2-0-1-to-2-0-8/24142/8
Maybe the issue is related to setlogicalsize scaling

from openbor.

wd avatar wd commented on June 30, 2024

@msmalik681 You mentioned the wrong people, I don't know what you are talking about.

from openbor.

msmalik681 avatar msmalik681 commented on June 30, 2024

Sorry I had no idea there was a "wd" user I was using it as short for White Dragon.

@whitedragon0000
Congratulations on fixing the bug but there is still a issue with touchscreen. All touchscreen buttons do not work when remapping buttons.

When you have a wired keyboard connected all buttons work except return as the start button. As ilu mentioned the gamepad support is more important but i thought i would mention this too.

from openbor.

whitedragon0000 avatar whitedragon0000 commented on June 30, 2024

Ok, so please open SDLActivity.java and see public boolean onKey() methods.
Try to change and test key mapping and compile.
Help me about this because I have not Bluetooth devices.
Thanks

from openbor.

msmalik681 avatar msmalik681 commented on June 30, 2024

Sure I will see what I can do.

from openbor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.