From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23007 invoked by alias); 24 Jan 2012 13:17:54 -0000 Received: (qmail 22996 invoked by uid 22791); 24 Jan 2012 13:17:52 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Jan 2012 13:17:39 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.1.109]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 24 Jan 2012 13:17:36 +0000 Message-ID: <4F1EAF7D.5030602@dronecode.org.uk> Date: Tue, 24 Jan 2012 13:17:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: Paul Maier Subject: Re: AW: Levovo trackpoint come delayed (reproducable with xev) References: <000301ccd95b$09e07ca0$1da175e0$@de> <4F1D5E08.5020803@dronecode.org.uk> <000701ccda19$ddd393d0$997abb70$@de> In-Reply-To: <000701ccda19$ddd393d0$997abb70$@de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2012-01/txt/msg00032.txt.bz2 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 ' 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/