Please reply to me directly, I'm not on the list. I'm trying to improve the mouse performance on a 3-D network management application I'm working on.
One of the things the application needs is relative mouse data when the user wants to rotate the camera around, and the currently accepted ways of doing this in OpenGL apps (that I can find) are 1) Use a blank cursor, warp the cursor to the middle of the screen, wait for an event, record the data, and immediately warp it back. This introduces another round trip to the server for every mouse event, and could be improved upon. 2) Use DGA v1 without initializing any of the video stuff, since that conflicts with the OpenGL stuff. This is deprecated. You can't use DGA v2 because it requires you use the video stuff. So apparently I'm supposed to use XInput to do this, but: [EMAIL PROTECTED]:~$ xsetmode Mouse1 RELATIVE X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 148 (XInputExtension) Minor opcode of failed request: 5 (X_SetDeviceMode) Serial number of failed request: 13 Current serial number in output stream: 13 So now what? xc/programs/Xserver/Xi/stubs.c defaults to returning BadMatch, and the mouse driver in the xfree86 server doesn't seem to provide anything which overrides this behavior... who owns the XInput stuff these days? -- - Jason Currently at: Somewhere on the Internet () LSD melts in your mind, not in your hand. _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
