Generic key-vaue protocol extension for drivers

Aivils Stoss aivils at latnet.lv
Mon Jan 30 23:43:49 PST 2006


On Otrdiena, 31. Janvāris 2006 01:42, Philip Langdale wrote:
> Hi gents,
>
> Seeing as I have now raised the specter of this thing in public and
> the sis and nvidia drivers seem to be the only other ones which
> implement protocol extensions, what are your thoughts on this and
> how far would such a beast go in obviating the need for custom
> extensions in your drivers?

Official way is
XOpenDevice()
XGetFeedbackControl()
XChangeFeedbackControl()

Just take look into input driver steering code - that is Dark Age.
Nvidia drivers create input device, which means Nvidia use
same way. 20 input devices allowed under X. Enough for vmware too :o)

Typicaly client side pack bits for XChangeFeedbackControl and
server/driver side unpack bits for usage.

Aivils Stoss



More information about the xorg mailing list