Re: [PATCH 3/3] HID: magicmouse: enable horizontal scrolling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2010-06-21 at 21:29 -0400, Michael Poole wrote:
> Chase Douglas writes:
> 
> > Mimicks OS X behavior.
> >
> > Signed-off-by: Chase Douglas <chase.douglas@xxxxxxxxxxxxx>
> > ---
> >  drivers/hid/hid-magicmouse.c |   25 +++++++++++++++++++------
> >  1 files changed, 19 insertions(+), 6 deletions(-)
> 
> I like this general idea, but Dmitry Torokhov didn't like my previous
> patch to achieve a similar effect:
> https://patchwork.kernel.org/patch/84201/

To be fair, that patch had a lot more in it. I'm not sure that appending
horizontal scroll to what's already in the driver is too much to ask.

> The only behavioral question I would have is whether a single
> touch/swipe should be locked in one direction or if it should be able to
> generate both horizontal and vertical scroll events.  That seems like a
> user preference thing to me.

Not that we should necessarily mimick OS X, but they scroll in both axes
simultaneously. I have no problem with it, and I've not heard of anyone
else gripe either.

Locking it in to one direction may not seem logical to an end user, and
would add more complexity to the code.

> (My real wish is for X and the various widget libraries to get decent
> multitouch support soon, so that the kernel doesn't have to address
> those policy questions.)

I'm trying to help out with that, and I realize it's the real end-game
here. However, like you said, there's no support quite yet. So while end
users twiddle their thumbs waiting for support above the kernel, we
should throw them a bone.

-- Chase

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux