> > Hello, > > i am wondering if there is a sound reason the Xserver > to respond to any ChangeDeviceControl request with a bad > value except for DEVICE_RESOLUTION. The relevant part in > xc/programs/Xserver/Xi/chgdctl.c reads to me like: > if (stuff->control == DEVICE_RESOLUTION) > call devicecontrol-procedure in driver > else > send BadValue. > > This leads to the necessity that any devicecontrol on an input > device must be encoded as a ResolutionControl request. Most sane > drivers would check the type anyway.
This portion of XInput is particularly poorly designed. It passes a fixed structure with a pre-defined ID (DEVICE_RESOLUTION) between the client and server. There is no portable, compatable way to expand this to pass other data. Joe Krahn ([EMAIL PROTECTED]) has been taking a look at the XInput system as a whole and evaluating additional extensions some vendors like SGI use to address these problems. > Also i would like an input driver loaded as a module to be able > to have IntegerFeedbacks, but the symbol is not exportet by the > Module loader => i get a message like 'this should not happen'. This is likely just an oversight because no one has used that feature and the symbol has not been exported. -- Chris Bare Metro Link Incorporated [EMAIL PROTECTED] http://www.metrolink.com/ _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
