public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: Paul Maier <svn-user@web.de>
Subject: Re: AW: Levovo trackpoint come delayed (reproducable with xev)
Date: Tue, 24 Jan 2012 13:17:00 -0000	[thread overview]
Message-ID: <4F1EAF7D.5030602@dronecode.org.uk> (raw)
In-Reply-To: <000701ccda19$ddd393d0$997abb70$@de>

On 23/01/2012 21:56, Paul Maier wrote:
>> On 22/01/2012 23:10, Paul Maier wrote:
>>> Lenovo trackpoint scrolling events get buffered somewhere until I release the button:
>>> then I get hundreds of scrolling events all at once.
>>>
>>> I can clearly see these events in xev.
>>>
>>> Result is that I don't really experience scrolling, rather jumping up and down
>>> with a random-like distance.
>>>
>>> With trackpoint I mean that red button in the middle of a Lenovo laptop.
>>>
>>> (Mouse wheel scrolling works perfect, in contrast.)
>>
>> Have you tried the workaround given in [1] ?
>>
>> According to the internet, the trackpoint driver tries to be too clever and
>> doesn't send WM_MOUSEWHEEL messages, but tries to fiddle with the Windows
>> scrollbars directly itself, which obviously isn't going to work well for an X
>> window :S
>>
>> [1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-trackpoint
> 
> I can't find any of the files tp4*.dat on my PC (I'm running Windows 7) - see console output below.

It seems that FAQ might need a little updating, that file might found under
%PROGRAMFILES% now, C:\Program Files\Synaptics\SynTP\TP4table.dat or
C:\Program Files\Lenovo\Trackpoint\tp4table.dat for example.

> And I do get the trackpoint events, they are just delayed until I release that button;
> on release I get hundreds of correct events scrolling my window to somewhere.
> How many events I get depends on how long or how intense I pressed the track point (sounds reasonable to me).

So, if you can't try the workaround, perhaps you could do a bit of investigation?

Download the latest snapshot built with debugging enabled from [1]
Run it using 'WIN_DEBUG_MESSAGES=1 ./XWin -logverbose 3 <your usual XWin
options, -multiwindow for example>'
Open up an xterm
You should then be able to see WM_MOUSEWHEEL messages being delivered in the
debug output from XWin when you use the trackpoint scrolling.  Are they being
delivered on time, or only when you release the the button?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


  reply	other threads:[~2012-01-24 13:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-22 23:11 Paul Maier
2012-01-23 13:18 ` Jon TURNEY
2012-01-23 21:57   ` AW: " Paul Maier
2012-01-24 13:17     ` Jon TURNEY [this message]
2012-01-24 13:52       ` Ryan Johnson
     [not found]       ` <000001ccde8a$f0fc2010$d2f46030$@de>
     [not found]         ` <4F2A7C93.6080705@dronecode.org.uk>
2012-02-02 19:47           ` AW: QAW: " Paul Maier
2012-02-03 15:49             ` Jon TURNEY
2012-02-03 22:39               ` AW: " Paul Maier
2012-07-22  0:42               ` Levovo trackpoint events " Paul Maier
2012-08-06 13:31                 ` Jon TURNEY
     [not found]                   ` <000001cd7a5c$88a929e0$99fb7da0$@de>
2012-08-15 17:52                     ` AW: " Jon TURNEY
2012-02-02 20:33           ` AW: QAW: AW: Levovo trackpoint " Paul Maier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F1EAF7D.5030602@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=svn-user@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).