Re: Do SDL apps work on Sailfish without modifications?
Thank you!
I don't have a device that can run Sailfish on, which is why I wanted to know if it is worth getting one. I used to have a N900, and it was easier to develop for it. Anyway, I have no idea why the input doesn't work. It uses normal SDL calls, normally a tap on the screen should simulate a mouse click. I guess that either this is not implemented yet, or maybe the clicks are sent with the wrong coordinates? Is there any way to get the console output of a program? |
Re: Do SDL apps work on Sailfish without modifications?
Events are generated but there is something wrong with coordinates. For bottom right corner x/y_mouse_pos are 866643/273391 but I didn't check it more.
|
Re: Do SDL apps work on Sailfish without modifications?
That's very interesting. I guess it's a bug with Sailfish? Because this works on Windows, Linux and Android just fine.
Can you check if it gets SDL_FINGERMOTION or SDL_FINGERDOWN events? It's around line 2500 |
Re: Do SDL apps work on Sailfish without modifications?
1 Attachment(s)
It works now, event.tfinger.x is just touch position and can't be multiplied by window width.
|
Re: Do SDL apps work on Sailfish without modifications?
Ok, thanks!
That's a bug, that should be a value between 0 to 1, not an absolute value. Any idea where that should be reported? |
Re: Do SDL apps work on Sailfish without modifications?
The sdl code should be at git.merproject.org/mer-core so maybe there. I don't know, better join to #sailfishos at IRC and ask there.
|
Re: Do SDL apps work on Sailfish without modifications?
Well, I posted it here: https://together.jolla.com/questions/
I hope someone will see and fix it. |
All times are GMT. The time now is 11:07. |
vBulletin® Version 3.8.8