Hi Am using ubuntu 9.04 with wine. Right now am facing one issue while playing game (IGI) under wine. (1) when i moved the mouse some times it move out of the game window , so all game flow will lost due to the issue. i tried with wine cfg option to lock mouse on directx application But not worked :( Change the wine resolution .. the issue remains same pls help me to solve the issue
2009/6/13 abraham_aji <wineforum-user at winehq.org>> Hi > > Am using ubuntu 9.04 with wine. > Right now am facing one issue while playing game (IGI) under wine. > (1) when i moved the mouse some times it move out of the game window , so > all game flow will lost due to the issue. > i tried with wine cfg option to lock mouse on directx application But not > worked :( > Change the wine resolution .. the issue remains same > pls help me to solve the issue > > > > > > This is a known issue, for workaround look here:http://wiki.winehq.org/UsefulRegistryKeys at "MouseWarpOverride" - you will need to set it to "force", just save the folowing to a file: REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\DirectInput] "MouseWarpOverride"="force" and run this command: regedit filename.reg That should do the trick ;] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.winehq.org/pipermail/wine-users/attachments/20090613/566c78a6/attachment.htm>
Thanx now its working .. Actually whats the wrong .. .. is this a Bug ? if we put "MouseWarpOverride"="force" how its work ?
Basically this is bug 6971 (http://bugs.winehq.org/show_bug.cgi?id=6971). X doesn't offer relative mouse movements this means that we don't receive events when you reach the borders of a window and then the mouse can escape the screen (we fake the mouse cursor I believe). The hack lets us recenter the mouse cursor this fix some programs but it breaks lots of others. The issue can be fixed soon when Xorg will ship Xinput 1.2 which does offer us relative mouse movements.
OK i got the issue ... This is a bug .. But can be solved only with xorg support . Mean while whats default value for the MouseWarpOverride . is there any another method to solve the issue , i mean without editing the wine registry ? So i can change this setting temporally for games which have the issue.
2009/6/16 abraham_aji <wineforum-user at winehq.org>> OK i got the issue ... This is a bug .. But can be solved only with xorg > support . > > Mean while whats default value for the MouseWarpOverride . is there any > another method to solve the issue , i mean without editing the wine > registry ? So i can change this setting temporally for games which have > the issue. > > > > > > Well... you can start independent X session for your game ? in fact this isthe way OpenGL app should be run (it can ?fix? some broken video drivers). To start new X session simply type: xinit /usr/bin/xterm : --1 -ac -depth 24 That should start new X session (usually accessible by pressing CTRL+ALT+F8) without window manager, only with xterm ? now from the xterm, simply start your app ? that should do the trick. You can switch between X sessions by pressing CTRL+ALT+F(something). -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.winehq.org/pipermail/wine-users/attachments/20090616/9ef5119c/attachment.htm>