How do I detect Mouse 4 & 5 (side button) presses?

Get help using Construct 2

Post » Tue Dec 30, 2014 1:17 pm

Only mouse left, right and middle click are listed in the C2 actions. Other buttons don't seem to be mentioned in the manual and I couldn't find anything in the tutorials or forum.

Obviously, not all mice have these additional buttons, but I'd like to allow the player to use them if they do.

Has anyone had any luck implementing this?
AVA ROWELL - simplisto.com - @avarowell - add me (simplisto) on Steam!
B
8
S
2
Posts: 23
Reputation: 1,138

Post » Wed Dec 31, 2014 3:29 pm

Bumping with a mention that:

Code: Select all
On any click {
   if left mouse not down {
      if right mouse not down {
         if middle mouse not down {
         }
      }
   }
[then perform this action]}

does not work.
AVA ROWELL - simplisto.com - @avarowell - add me (simplisto) on Steam!
B
8
S
2
Posts: 23
Reputation: 1,138


Return to How do I....?

Who is online

Users browsing this forum: bclikesyou, brunopalermo, lahbach, R0J0hound, ST314 and 24 guests