-
-
Notifications
You must be signed in to change notification settings - Fork 173
mouse cursor support #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I thought about this for a while, but I'm not sure it's a wise choice to implement it. The thing is, if I add mouse support, it will be without mouse acceleration and without any configuration options. So the mouse will feel kinda raw, and not at all like what you're used to on a normal Desktop. That means mouse support would only be useful for debugging purposes. But since touchscreen input seems to work quite well right now, I doubt anyone needs mouse input for debugging purposes. That's why I think it's not that useful right now. But of course, I'm open to discussion about that. |
Hi, in my opinion the mouse support is needed. How you said only for debugging purposes. For example, I don't have a touch screen display yet, and at the moment I'm stuck at the first screen because I can't interact with the app. TL;DR |
Agree. I'm currently investigating a borrowed RPI as a possible path forward on a project, but I'm not quite ready to make the investment on a touchscreen yet. Even if it's kind of nasty, basic mouse support would be nice to see how smooth/interactive flutter apps can be for those without touchscreens. Please consider it? |
Okay, that seems reasonable, I'll implement it when I have time |
That would be really nice, Thanks! |
So just to make sure: is mouse control supported with the latest flutter_pi release? Anything that needs to be configured to enable it ? |
@ondrej1024 It only works when the GPU supports hardware mouse cursors. If they're not supported you should see some error messages in the flutter-pi output. You can use a software mouse cursor though when hw is not supported: https://gist.github.com/ardera/e7ddf7c8e477d258a26dfa9c40002626 |
The text was updated successfully, but these errors were encountered: