Skip to content
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

I'm a little bit lazy and it's weekend but ... #33

Open
pvbrowser opened this issue Sep 4, 2022 · 1 comment
Open

I'm a little bit lazy and it's weekend but ... #33

pvbrowser opened this issue Sep 4, 2022 · 1 comment

Comments

@pvbrowser
Copy link
Owner

See:
https://pvbrowser.de/pvbrowser/html/brief1.pdf

@pvbrowser
Copy link
Owner Author

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."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant