StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
tefo_d  
#1 Posted : Sunday, December 5, 2021 10:07:03 AM(UTC)
tefo_d

Rank: Newbie

Reputation:

Groups: Approved
Joined: 12/5/2021(UTC)
Posts: 6
Germany

Thanks: 3 times
I want to capture if both mouse buttons (e.g. left and right) at same time.
Tried different things in the mouse events (including playing with time on delayed timers)
and searched this forum and in the web - found no working solution.

Any ideas?
randomConstant  
#2 Posted : Sunday, December 5, 2021 2:15:10 PM(UTC)
randomConstant

Rank: Advanced Member

Reputation:

Groups: Translators, Approved
Joined: 7/17/2021(UTC)
Posts: 135

Thanks: 35 times
Was thanked: 18 time(s) in 15 post(s)
Hi,

You might want to check rocker gestures in sample S+ scripts, basically they work by pressing one of the mouse buttons first and then pressing second button in a wave-like-flow.
So there are two possible directions, left-then-right or right-then-left.

You can put the same action script for both of the possible rocker combinations and it should trigger either of the two scripts every time both mouse buttons are pressed with slight (humanly) delays.

This is not exactly what you asked but might be useful.
thanks 1 user thanked randomConstant for this useful post.
tefo_d on 12/5/2021(UTC)
tefo_d  
#3 Posted : Sunday, December 5, 2021 3:12:17 PM(UTC)
tefo_d

Rank: Newbie

Reputation:

Groups: Approved
Joined: 12/5/2021(UTC)
Posts: 6
Germany

Thanks: 3 times
Ahh.. Your are right. Had wondered the whole time what the rocker thing was about 😃
In the capture modifiers there is an option 'either' which covers pretty much, what i am searching for. Thanks mate!



randomConstant  
#4 Posted : Sunday, December 5, 2021 4:08:24 PM(UTC)
randomConstant

Rank: Advanced Member

Reputation:

Groups: Translators, Approved
Joined: 7/17/2021(UTC)
Posts: 135

Thanks: 35 times
Was thanked: 18 time(s) in 15 post(s)
Oh yes, either would be better for a single script.

Glad you found a solution. Smile
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.