Giter Club home page Giter Club logo

Comments (7)

vcrtech avatar vcrtech commented on September 13, 2024 2

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
We need the mouse support

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?

from flutter-pi.

ardera avatar ardera commented on September 13, 2024 2

Okay, that seems reasonable, I'll implement it when I have time

from flutter-pi.

GioPan04 avatar GioPan04 commented on September 13, 2024 1

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
We need the mouse support

from flutter-pi.

ardera avatar ardera commented on September 13, 2024

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.

from flutter-pi.

CAoTx avatar CAoTx commented on September 13, 2024

Okay, that seems reasonable, I'll implement it when I have time

That would be really nice, Thanks!

from flutter-pi.

ondrej1024 avatar ondrej1024 commented on September 13, 2024

So just to make sure: is mouse control supported with the latest flutter_pi release? Anything that needs to be configured to enable it ?
It doesn't seem to work here.

from flutter-pi.

ardera avatar ardera commented on September 13, 2024

@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

from flutter-pi.

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.