Open pvbrowser opened 2 years ago
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.
char buf[80];
sprintf(buf,"slider(%d,%d)\n",0, (int) (sf*100));
tcp_send(&mw->pvbtab[mw->currentTab].s,buf,strlen(buf));
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."
See: https://pvbrowser.de/pvbrowser/html/brief1.pdf