Jump to content
Sign in to follow this  
Guest Jung-yoon Kim

How I hook to click mouse button up or down?

Recommended Posts

Guest Jung-yoon Kim

Hi.

I wanna know whether I pressed mouse button down or released mouse button up.

_IsPressed('01') returned just down.

If I pressed left button lastingly, it returned value 1 continuously.

Edited by Jung-yoon Kim

Share this post


Link to post
Share on other sites

Keep 2 values of _IsPressed, if the last is 0 and the one before is 1 the used released, in the opposite case he pressed.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...