Git Product home page Git Product logo

Comments (1)

pvbrowser avatar pvbrowser commented on August 27, 2024

I make a proposal in the technical sense.
The following theory:
#########################################

Detecting a slow analog gesture like pinch lasts very long for current computers. I suppose nowadays this task is done in software in timeshareing in the user space. In contrast when you turn MOUSE-Wheel and hold down the CTRL-Key at the same time, much of the work is done by hardware (the mouse). There are 2 channels (USB connection of the mouse and USB connection of the keyboard) that must be evaluated in order to trigger a zoom event within pvbrowser. In our case the linux kernel takes care for the 2 parallel USB communication channels and i suppose also makes the event following out of CTRL-Key and MOUSE-Wheel not interruptable by user space apps like pvbrowser.

And exactly for this scenario we have now found a test application.

We can play with the 3 lines within mainwindow.cpp and comment them out and in again.

#ifndef USE_ANDROID
char buf[80];
sprintf(buf,"slider(%d,%d)\n",0, (int) (sf*100));
tcp_send(&mw->pvbtab[mw->currentTab].s,buf,strlen(buf));
#endif

PS: I have experiance with transputers + occam + occams law and as a result made the following statement in the german wikipedia: "Da die Transputerlinks aber nach den Rendezvous-Verfahren arbeiten und keinen FIFO aufweisen, ist die Parallelisierung schwierig."

from pvb.

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.