Ipad emulator mac two finger scroll
When packetReady is called, one or more packets are available in the ring buffer. So, interruptOccurred can be called at any time, even during packetReady.
#Ipad emulator mac two finger scroll software#
ShareMouse is the more advanced software and it will let you use the Mouse/Keyboard from all connected computers - as well as it supports dragging a file from one computer to another. You must be careful not to get into a "negative feedback" loop however (where resets cause temporary bad data, which cause more resets, etc). Both are virtual KVM software that allow multiple computers to share a single (or multiple) keyboard mice. It can do other tasks, such as sending commands to the ps2 device to reset, etc when bad data is received. In packetReady you should be advancing the 'tail' only to retrieve the complete packets in order placed by interuptOccurred. PacketReady is called on the workloop thread after interruptOccurred has signaled that a complete packet is available. If you want to communicate that invalid packets/data are being received to packetReady, make a special kind of packet so it can notice. All packet sync/verification should be done in interruptOccurred. You should only be advancing the 'head' of the ring buffer in here, to store data in the ring buffer. InterruptOccurred happens when actual interrupts happen.
So if someone have a good understanding of kexts, threads, and VoodooPS2 ringbuffers ^^. I first tried to contact rehabman by mail since i firstly though those questions may be too technical to be posted here, but got no answer for now (i can understand that he cannot answers every emails people sends him). wouldn't it get some incorrect data there ? That is one of my ideas of why i can get hick-ups like i have right now. :sĪnd I was wondering how thread safe is the interruptOccured and packetReady functions : what happens if during packet treatment loop on packetReady a interrupt occurs and modifies the ringbuffer.
#Ipad emulator mac two finger scroll driver#
this physical limation might become a problem if we decide to implement rotation for example).īut i'm experiencing some hick-ups on mouse mouvement for now : the cypress floods a lot of events through the PS2 bus, regularly (frequency depends on how fast i move on the touchpad ), i go stored an incorrect packet which leads to and incorrect mouse move and then right after my header byte is incorrect, i then re-sync by sending 0xfe and go back on sync but the result still a driver with some hick-ups. I have a xps l322x with osx installed, but since i have my trackpad working wonderfully under windows and Linux (gentoo), I found really frustrating to be unable to get at least two finger scrolling, so i started writing some implementation of the cypress trackpad on the VoodooPS2Controller of rehabman, for now i retreive successfully the coordinatinates with multiple fingers (well cypress only gives correct coordinates for 1 or 2 fingers independently, if more fingers (3 to 5), it on gives the coordinates of one of them, but tells how much fingers there is. Building a CustoMac Hackintosh: Buyer's Guideįirst of all wanted to excuse myself if my post shouldn't be here, since i don't know how technical i can go this thread.