ButtonEventHandler

(MouseArea) Button Event Handler

(7 Votes)
1.0 (Updated 17 years ago)
1.6kB
September 21, 2007
Reaktor 5 or lower

DESCRIPTION

There is a bug in the mouesarea control that causes problems when multiple mouse buttons are pressed at the same time, because sometimes the mouse release value of 0 is not sent.

I created this macro to intercept button pushes from the mousearea control, to force only one button to be active at a time and to send a value of 0 from every mouse button when any one button is released. This is all in an effort to make the mousearea control more predictable in behavior.

Lets hope future versions of Reaktor do not have this mousearea bug, so that we can go back to using multiple mouse buttons simultaneously.

COMMENTS  (1)

Mark Bonnington
17 years ago
Oh, I should also mention that all of the inputs and outputs that aren't button related are simply mapped directly across the macro, to make for a more pleasing appearance when connecting things together.
now