On 02/15/2010 02:51 AM, Roderick Colenbrander wrote:
On Mon, Feb 15, 2010 at 2:13 AM, Dan Kegel dank@kegel.com wrote:
On Sun, Feb 14, 2010 at 4:46 PM, Ben Klein shacklein@gmail.com wrote:
On 15 February 2010 11:13, Dan Kegel dank@kegel.com wrote:
I recall that Paul Hampson did a first cut at using XI2, linked to from the bottom of http://wiki.winehq.org/DInput, and http://wiki.winehq.org/Bug6971 says "the new XInput2 X11 extension (which is part of XOrg 7.5) provides relative mouse motion events. Once this extension is more common, we will be able to fix Wine properly." Well, here it is, and XI2 is said to be included in Ubuntu Lucid Lynx Alpha 2; so it's about to get a lot more common.
For us non-Ubuntu users, what xorg stable version has XI2?
Somewhere within the past 3 months I had a discussion with Paul and some others on #winehackers about the xinput2 work. Paul said his work was basically a proof of concept and that the real work is much more involved. It requires an explorer process which feeds wineserver with events, see http://www.winehq.org/pipermail/wine-devel/2009-June/076692.html
Indeed it's not so simple. Just plugging dinput into XI2 via x11.drv will work. But is not the best solution - it doesn't help with RawInput. However this might do just fine until RawInput is actually implemented.
Vitaliy.