saaros / sentelic

Sentelic touchpad driver for Linux kernel
16 stars 1 forks source link

Cursor jumps on the edge of the touchpad #6

Open Limoto opened 12 years ago

Limoto commented 12 years ago

Hi.

I'm trying recent src/ files from here on 3.2.3 kernel and a MSI CR640 laptop. The two-finger vetical scrolling seems to work fine (horizontal seems not, but I don't care about it), but the vertical/horizontal edge scroll doesn't work. The main problem is that when I'm moving my finger over the touchpad and I reach ANY edge, the pointer jumps to the front left corner of the screen.

Is it related to fixed touchpad size in sources? How can I check the size of my touchpad?

Thanks

Limoto commented 12 years ago

I figured out that it sends the 4th bit of packet[0] == 0 when this happens (it sends 48 0 0 00-0f ), so I added a hack in case FSP_PKT_TYPE_ABS:

        if ((packet[0] & BIT(4)) == 0 && l_btn == 0)
                    break;

and it helped. Do others have this issue too?

Limoto commented 12 years ago

Please, can somebody have a look at this? Now, when this bug is in mainline kernel, it's really annoying...