Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wait for Mouse Movement OR Key/MB Up/Down?
#4
Hi Gintaras, Thanks so much for writing these functions. I said I was looking to wait for user "click button or moved mouse" but I forgot to mention that the button click on my mouse is mapped to a keyboard mapping - i.e. not RMB or LMB or wheel but actually something like 'Aq (.... ifk(Aq), etc).


I don't quite understand the hook structure in your example so I wasn't able to modify it to my needs. I will try again later. I also couldn't find the GetLastInputInfo function in QM though it is referenced elsewhere in the forum...ideally, it would be cool to have a wait statement that could be ended by key UP or Down, mouse click UP or DOWN or mouse movement. Extra amazing if it could return which action tripped it (i.e. which key clicked, etc). Not sure what would be return data on mouse movement other than that mouse movement was the trigger.....

This seems like it would be a big thing to write but any help on understanding GetLastInputInfo would help me get a long way there....
Thanks so much!!!!!

Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)