[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Low-level read input (mouse, HID devices)



I was more about  to extract most low-level data from the mouse. It should be horizontal and vertical velocity of physical movement (I suppose so functions the mouse) and independent from any OS interpretations. It wouldn't be hard probably if you know where are these values written, but I don't. 

On Friday, January 16, 2015 at 12:44:34 AM UTC+1, Alec Bennett wrote:
You can easily get the mouse position regardless of focus under Windows using the win32api:

mouse_pos = win32api.GetCursorPos()