Just as a follow up, It seems like this issue was caused by a recent Windows 10 update, and it affected quite a few projects. I'm not sure if it was a bug, or if Microsoft just "fixed" something that had long behaved incorrectly.
We also have a new issue on the tracker about exclusive mouse mode. The fix worked, but they had a few other comments about strange behavior. Do you think this might be related to the change, or may have already existed? https://bitbucket.org/pyglet/pyglet/issues/158/windows-10-exclusive-mouse-bug On Tuesday, November 14, 2017 at 11:17:03 AM UTC+9, Benjamin Moran wrote: > > Dan, > > This is really great. Thanks for updating the code, and also for taking > the time to write the unit test. > I'll give this a test on my Windows 7 machine as well, and please go ahead > with a pull request if/when you're ready. > > DR0ID, thanks for the testing and feedback. > > -Ben > > > On Monday, November 13, 2017 at 6:08:33 PM UTC+9, Daniel Gillet wrote: >> >> Hi DR0ID, >> >> Thanks a lot for all the tests and the time spent figuring out the >> problem. >> >> I'm reading again the MSDN documentation and I was a bit surprise. In the >> current code, we are waiting for QS_ALLINPUT. >> According to the docs >> <https://msdn.microsoft.com/en-us/library/windows/desktop/ms684242(v=vs.85).aspx>, >> >> it's defined as: This value is a combination of *QS_INPUT*, >> *QS_POSTMESSAGE*, *QS_TIMER*, *QS_PAINT*, *QS_HOTKEY*, and >> *QS_SENDMESSAGE*. >> Looking at QS_ALLINPUT, it's defined as: This value is a combination of >> *QS_MOUSE*, *QS_KEY*, and *QS_RAWINPUT*. >> >> So here we do have the raw_input. So I've been looking at >> pyglet/libs/win32/constants.py and here is what I found: >> QS_INPUT = (QS_MOUSE | \ >> QS_KEY) >> So the raw_input is missing!!! >> >> I will make a new commit with that bug fix. >> >> You did not really specify in your message if in the end it worked for >> you or not. >> >> Dan >> >> > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
