High-resolution scroll events

2010-11-17 Thread Max Schwarz
Hi, I'm currently developing patches for the X11 ecosystem to provide higher- resolution scrolling for devices that support it (touchpads, trackpoints, etc). My patches are kept in a github repo ([1]). It looks like my patch will get merged into Xorg eventually (see my thread over at

Re: High-resolution scroll events

2010-11-17 Thread Carlos Garnacho
Hi!, On Wed, 2010-11-17 at 13:29 +0100, Max Schwarz wrote: Hi, I'm currently developing patches for the X11 ecosystem to provide higher- resolution scrolling for devices that support it (touchpads, trackpoints, etc). My patches are kept in a github repo ([1]). Was aware of your work,

Re: High-resolution scroll events

2010-11-17 Thread Sven Herzberg
Hi, Am Mittwoch, den 17.11.2010, 13:29 +0100 schrieb Max Schwarz: Do you have an idea on how to implement this? I think Qt's model is quite nice, they have a 'delta' field in their event [3] which gives more precise information. Of course, If you want to retain API compability (which I think

Re: High-resolution scroll events

2010-11-17 Thread Paul Davis
On Wed, Nov 17, 2010 at 7:29 AM, Max Schwarz m...@x-quadraht.de wrote: Do you have an idea on how to implement this? I think Qt's model is quite nice, they have a 'delta' field in their event [3] which gives more precise information. Of course, If you want to retain API compability (which I

Re: High-resolution scroll events

2010-11-17 Thread Paul Davis
On Wed, Nov 17, 2010 at 9:56 AM, Sven Herzberg he...@gnome-de.org wrote: No, you don't have to. Here is a patch for the Mac OS X backend which implements this. (Let me check tonight whether I can find my cleaned up version and attach it to that bug.)

Re: High-resolution scroll events

2010-11-17 Thread Max Schwarz
Hi, Do you have an idea on how to implement this? I think Qt's model is quite nice, they have a 'delta' field in their event [3] which gives more precise information. Of course, If you want to retain API compability (which I think you do) a new event would have to be introduced that is

Re: High-resolution scroll events

2010-11-17 Thread Paul Davis
On Wed, Nov 17, 2010 at 10:25 AM, Max Schwarz m...@x-quadraht.de wrote: The problem is not with large deltas (which are thrown away in the current OSX version, if I understand the patch correctly), but with small deltas, which get emitted from Xorg with a pretty high frequency. my initial

Re: High-resolution scroll events

2010-11-17 Thread Max Schwarz
Am Mittwoch, 17. November 2010, um 16:40:16 schrieben Sie: On Wed, Nov 17, 2010 at 10:25 AM, Max Schwarz m...@x-quadraht.de wrote: The problem is not with large deltas (which are thrown away in the current OSX version, if I understand the patch correctly), but with small deltas, which get

Re: High-resolution scroll events

2010-11-17 Thread Shaun McCance
On Wed, 2010-11-17 at 16:53 +0100, Max Schwarz wrote: Am Mittwoch, 17. November 2010, um 16:40:16 schrieben Sie: On Wed, Nov 17, 2010 at 10:25 AM, Max Schwarz m...@x-quadraht.de wrote: The problem is not with large deltas (which are thrown away in the current OSX version, if I understand

Re: High-resolution scroll events

2010-11-17 Thread Paul Davis
On Wed, Nov 17, 2010 at 11:17 AM, Shaun McCance sha...@gnome.org wrote: If we break API on this, I think it would be best to do it in a way that the compiler catches it. Just adding a field to GdkEventScroll will trip up a lot of developers. Not really. There is (1) no change in the structure

Re: High-resolution scroll events

2010-11-17 Thread Sven Herzberg
Hi, Am Mittwoch, den 17.11.2010, 16:25 +0100 schrieb Max Schwarz: Do you have an idea on how to implement this? I think Qt's model is quite nice, they have a 'delta' field in their event [3] which gives more precise information. Of course, If you want to retain API compability (which