Re: Current status of XI2 mouse stuff now that Lucid Lynx includes XI2?

2010-02-15 Thread Roderick Colenbrander
On Mon, Feb 15, 2010 at 2:13 AM, Dan Kegel d...@kegel.com wrote:
 On Sun, Feb 14, 2010 at 4:46 PM, Ben Klein shackl...@gmail.com wrote:
 On 15 February 2010 11:13, Dan Kegel d...@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?

 http://www.x.org/wiki/Releases/7.5
 - Dan




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

Roderick




Re: Current status of XI2 mouse stuff now that Lucid Lynx includes XI2?

2010-02-15 Thread Vitaliy Margolen
On 02/15/2010 02:51 AM, Roderick Colenbrander wrote:
 On Mon, Feb 15, 2010 at 2:13 AM, Dan Kegel d...@kegel.com wrote:
 On Sun, Feb 14, 2010 at 4:46 PM, Ben Klein shackl...@gmail.com wrote:
 On 15 February 2010 11:13, Dan Kegel d...@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?

 http://www.x.org/wiki/Releases/7.5
 
 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.




Re: Current status of XI2 mouse stuff now that Lucid Lynx includes XI2?

2010-02-15 Thread Roderick Colenbrander
On Mon, Feb 15, 2010 at 3:40 PM, Warren Dumortier nwarre...@gmail.com wrote:
 As a simple user i have a question.
 Will WIne include the patch once it exists and is accepted or will the
 Wine team only include it once all major distros use the new Xorg?
 I'm really looking forward XInput2 in Wine, but maybe both could be in
 the Wine source, but enabling XInput 2 by a compiler flag or registry
 key?


The presence of an X extension can be discovered at run-time, so when
XInput2 isn't around we would fall back to the old code.

Roderick




Current status of XI2 mouse stuff now that Lucid Lynx includes XI2?

2010-02-14 Thread Dan Kegel
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.
Has anybody tried it out lately?  What's Paul's status?

Incidentally, I just noticed a page about how somebody
made the transition to XI2 on another project, see
http://www.clearchain.com/blog/posts/xinput-1-xinput-2-conversion-guide
- Dan




Re: Current status of XI2 mouse stuff now that Lucid Lynx includes XI2?

2010-02-14 Thread Ben Klein
On 15 February 2010 11:13, Dan Kegel d...@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?

 Has anybody tried it out lately?  What's Paul's status?

 Incidentally, I just noticed a page about how somebody
 made the transition to XI2 on another project, see
 http://www.clearchain.com/blog/posts/xinput-1-xinput-2-conversion-guide
 - Dan




Re: Current status of XI2 mouse stuff now that Lucid Lynx includes XI2?

2010-02-14 Thread Dan Kegel
On Sun, Feb 14, 2010 at 4:46 PM, Ben Klein shackl...@gmail.com wrote:
 On 15 February 2010 11:13, Dan Kegel d...@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?

http://www.x.org/wiki/Releases/7.5
- Dan




Status of XI2 mouse stuff?

2009-08-02 Thread Luke Benstead
Hi all,

I remember seeing an email that someone had implemented DX mouse input
using the new XInput2 extensions. What's the status of that? Is it in
Wine already?

Cheers,

Luke.




Re: Status of XI2 mouse stuff?

2009-08-02 Thread Roderick Colenbrander
Hi Luke,

Paul Hampson (TBBle on IRC) worked on it. He has some patches but some
cleaning up and restructuring (e.g. adding some new tasks to
explorer.exe) and more is needed to get it into Wine. I'm not sure
what the current status is. You can find his email in the wine-devel
archives.

Roderick

On Sun, Aug 2, 2009 at 9:04 AM, Luke Bensteadkaz...@gmail.com wrote:
 Hi all,

 I remember seeing an email that someone had implemented DX mouse input
 using the new XInput2 extensions. What's the status of that? Is it in
 Wine already?

 Cheers,

 Luke.