[RFC] Reporting of relative device events

Peter Hutterer peter at cs.unisa.edu.au
Sat May 24 06:46:53 PDT 2008

On Sat, May 24, 2008 at 12:54:59PM +0300, Daniel Stone wrote:
> > Instead of the current approach, it would be better to differ between
> > DeviceMode and DeviceReportingMode, both independent of each other.
> Yeah, so it just becomes an extra parameter to XSelectDeviceInput:
> deviceid, wid, priority?, { ScreenAbs, DevAbs, Rel }; for this to be
> useful though, we pretty much have to allow that in motion history, too,
> which is going to be a hoot.

Change the motion history to be deltas with a reference value in absolutes and
we can calculate the motion history as required. I think so anyway, need to
have a look at the MH first.

> > The next question would then be - should this be implemented as a
> > DeviceControl, thus globally. Or should it be implemented on a per-client
> > basis?
> > Looking at the source, both are feasable, although the latter requires
> > additional requests to set and/or query the mode of the device for this
> > client (and is generally nastier to implement).
> I'd prefer it was per-input-selection.  Global controls for things like
> this are the _suck_.

hmm. could be interesting. Should be fairly easy if we have a bit or two left
over in the masks. need to look at that...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080524/36cb951b/attachment.pgp>

More information about the xorg mailing list