Hi Polorky, I wonder if this is related to this issue: https://bitbucket.org/pyglet/pyglet/issues/130/mouse-release-event-not-triggered We thought that was a Mac only issue related to that specific touchpad, but it's possible the issue lies elsewhere.
Interestingly, some people are reporting missing on_press, while others are missing on_release events! It shouldn't matter, but could you have a try with the exact code example from the issue tracker, and confirm your results there? Also, please share the hardware and OS details for your laptop. Thanks! On Tuesday, February 20, 2018 at 4:46:25 AM UTC+9, Polorky wrote: > > Hi, I'm having the same issue. I have run the following code which prints > out all detectable Pyglet events: > > > screen.push_handlers(pyglet.window.event.WindowEventLogger()) > > > And this was the result: > > on_mouse_motion(x=442, y=371, dx=0, dy=-1) > on_draw() > on_mouse_release(x=442, y=371, button='LEFT', modifiers=MOD_NUMLOCK) > on_draw() > on_mouse_release(x=442, y=371, button='LEFT', modifiers=MOD_NUMLOCK) > on_draw() > on_mouse_motion(x=445, y=374, dx=3, dy=3) > > > I clicked the mouse twice but it only read the 'release' not the 'press'. > > I'm using a Windows laptop and I've tried this with the mouse pad and an > external mouse, neither is working. > > Any ideas? > -- 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.
