Git Product home page Git Product logo

Comments (4)

AndreasVerhoeven avatar AndreasVerhoeven commented on September 2, 2024

As much as we would like to do this, there is no way on macOS to simulate trackpad input at the moment.

from touchbardemoapp.

par5ul1 avatar par5ul1 commented on September 2, 2024

could this be of any help? Sorry if it's useless but I found this and thought maybe it would be useful.

from touchbardemoapp.

palxex avatar palxex commented on September 2, 2024

@par5ul1 Just did a little research, seems its main propose is help you inject multi-touch event if you already got a OSX-supported multi-touch device - it means magic mouse/trackpad. For those who don't have either, the multitouch framework cannot even start working ( cannot get a valid MTDeviceRef - and all later works depends it ). To make it work, we'll need first emulate such a device, from driver level, to makes this framework thinks it exist to work; and then, all gestures still need be recognize by coding by hand - currently only 2 finger swipe/pan/rotate implemented - since seems the magic mouse/trackpad hardware recognize them internally. And the framework seems being rewritten by mavericks, possible more reverse engine needed. Seems its would be a much bigger task than the whole project currently.

from touchbardemoapp.

gerwitz avatar gerwitz commented on September 2, 2024

Not to beat a dead horse, but could a subset of "non-pointer" gestures be more reasonable?

My (probably very personal) scenario: I use a mouse but still reach to the trackpad for two-finger scroll and three-finger swipe-between-spaces.

Even if that's going too far, thanks for publishing this! I hope it will drive TouchBar emulation across other "use my iPad as a peripheral" apps.

from touchbardemoapp.

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.