dinput questions..

"R. N." <[email protected]>
Newsgroups gmane.comp.emulators.winex.devel
Message-ID <[email protected]>
I've been trying to track down some problems with a game demo I'm trying
to get running.  
Problems:

1) mouse cursor always go to position (0, 0) in the screen

2) pressing any key on the keyboard crashes the game and loses focus nwo

The mouse cursor problem lets you move the mouse and it appears that in
the 10ms window of time in dinput/mouse/main.c dinput_mouse_hook() call,
you can move the mouse around, but then resets.  So, if you are quick
enough you can move the mouse outside of the wine desktop.

The keyboard losing focus, and previously crashing the game altogether
seems to be related to either queued requests in
SysKeyboardAImpl_GetDeviceData() or the unimplemented stubs for dinput.

The +dinput output can be found at:
http://www.angelfire.com/geek/p0z3r/dinput.log.txt

I want to try to implement some of this, but am having problems trying
to debug this correctly to shed some light on it.

Any help would be appreciated.

Sincerely,
Ryan Nickell




-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.