[PATCH] evdev: allow mouse wheel emulation to work even with absolute-position devices (like touchscreens)

Peter Hutterer peter.hutterer at who-t.net
Sun Dec 6 18:36:54 PST 2009


On Sun, Dec 06, 2009 at 06:23:28PM -0800, Dima Kogan wrote:
> Hi Peter.
> 
> I specifically didn't do it that way because I didn't want to assume
> that REL_X == ABS_X and REL_Y == ABS_Y. I don't know how set in stone
> those definitions are. I'd like you to confirm that this assumption will
> hold for the foreseeable future, and if so, I will redo the patch. Let
> me know. Thanks.

pretty much set in stone. if the kernel changes the definitions for those, a
lot of things will break.
of course, you could do #if trickery for the case but let's not worry about
it.

Cheers,
  Peter


More information about the xorg-devel mailing list