Macro definitions
[DEF,ClickTime,(200)]
[DEF,DownClick,(~1 Down BEFORE [ClickTime])]
[DEF,UpClick,(~1 Up BEFORE [ClickTime])]
[DEF,Click,([UpClick,~1] AND [DownClick,~1])]
[DEF,CTRL,(Ctrl Down | Spare3 Down)]
[DEF,SHIFT,(LeftShift Down | RightShift Down)]
SELECT
TRIGGER
FROM
Red Down =>
SELECT
ENABLE
FROM
[CTRL] => GrabLeftKnob;
Blue Up WHILE Yellow Up => Coords, Enable;
ENDCASE;
Blue Down =>
SELECT
ENABLE
FROM
[CTRL] => GrabRightKnob;
Red Down => Abort;
ENDCASE;
Mouse
WHILE Red Down => Coords, Move;
Yellow is used for choosing the coarseness of the knob on the slider.
Yellow Down =>
SELECT
TRIGGER
FROM
[Click,Yellow] =>
SELECT
TRIGGER
FROM
[Click,Yellow] =>
SELECT
TRIGGER
FROM
[Click,Yellow] => UltraFine;
ENDCASE => Fine;
ENDCASE => Medium;
ENDCASE => Coarse;
ENDCASE.