[PATCH 6/6] xserver: input device id counter fix
mailinglists at who-t.net
Sun Apr 1 17:36:13 PDT 2007
> If I remember correctly the MAX_DEVICES are set to 20 logical
> devices so the
> lists won't get that long anyway. 20 seems to be an awful lot of
> devices, but
> the wacom driver is one of those that can have several tools
> (stylus, mouse,
> eraser, ...) on one physical device. So maybe it's not that much
> 20 might be a little close to the number of devices for the extreme
> user so
> maybe it's time to increase this to a higher number, could there be
> a reason
> for keeping it this 'low'? Latency in event-handling? A new value
> of 64?
> (Yes, a value taken from thin air, but it should last a while)
> Normal users
> shouldn't be affected of this in any way at all if they don't have any
> problem today.
I got an idea! let's set it to 128! *shocked gasp*
That's the max range we can have for input devices.
MAX_DEVICES isn't used all that often for memory allocations (except
in my cursor rendering code but that's supposed to go away soonish),
so we're not really wasting anything there anyway.
Multi-Pointer X Server
More information about the xorg