public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net
Subject: Re: [RFC/PATCH] Touchpads in absolute mode (synaptics) and mousedev
Date: Tue, 1 Jul 2003 13:29:50 -0500	[thread overview]
Message-ID: <200307011329.50551.dtor_core@ameritech.net> (raw)
In-Reply-To: <16129.22286.274059.518816@gargle.gargle.HOWL>

Apologies if you seen this already but it seems the list ate my previous 
replies...

On Tuesday 01 July 2003 04:40 am, Neil Brown wrote:
> On Tuesday July 1, dtor_core@ameritech.net wrote:
... skip ...
> >
> > 1. Modify mousedev so if an input device announces that it generates both
> >    relative and absolute events mousedev will discard all absolute axis
> >    events and will rely on device supplied relative events.
>
> Nah.  I have an ALPS dualpoint which generates ABSolute events for the
> touchpad part and RElative events for the pointstick part.  I want
> them both.
>

So pass relative events as is and do conversion of absolute to relatives. 
That's what I gonna do about my track stick as well.

Remember that mousedev provides _emulation_ of [Ex]PS/2 mouse protocol for
almost any device, it does not do any advanced tricks it's here to use with 
old software that does not have advanced drivers yet, you are not "loosing"
your absolute mode packets, you hav /dev/input/eventX to access them.  

> > 2. Add absolute->relative conversion code to touchpad drivers themselves
> >    as drivers should know the best how to do that. If they turn out to be
> >    similar across different touchpads then the common module could be
> >    made.
> >
> > What you think?
>
> I think that mousedev should be just clever enough to mostly work and
> no cleverer.  Anything more interesting should be done in user-space.
>

Right, and if device says that it can generate relative packets mousedev 
should not get in its way and do its own absolute->relative conversion.
 
Dmitry

  reply	other threads:[~2003-07-01 18:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-01  8:03 [RFC/PATCH] Touchpads in absolute mode (synaptics) and mousedev Dmitry Torokhov
2003-07-01  9:40 ` Neil Brown
2003-07-01 18:29   ` Dmitry Torokhov [this message]
2003-07-01 23:43     ` Neil Brown
2003-07-02  0:57       ` Dmitry Torokhov
2003-07-02  6:59         ` Vojtech Pavlik
2003-07-01 12:02 ` Felipe Alfaro Solana
2003-07-01 18:18   ` Dmitry Torokhov

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=200307011329.50551.dtor_core@ameritech.net \
    --to=dtor_core@ameritech.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=neilb@cse.unsw.edu.au \
    /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