<> <> <> [DEF,CTRL,(Ctrl Down | Spare3 Down)] [DEF,SHIFT,(LeftShift Down | RightShift Down)] SELECT TRIGGER FROM Mouse WHILE Red Down WHILE Yellow Up WHILE Blue Up => Coords, Adjust; Mouse WHILE Yellow Down WHILE Blue Up WHILE Red Up => Coords, Adjust; Mouse WHILE Blue Down WHILE Red Up WHILE Yellow Up => Coords, Adjust; Red Down => SELECT ENABLE FROM Yellow Down => Abort; Blue Down => Abort; ENDCASE => Coords, Select; Blue Down => SELECT ENABLE FROM Yellow Down => Abort; Red Down => Abort; ENDCASE => Coords, JoinPin, Insert; Yellow Down => SELECT ENABLE FROM Red Down => Abort; Blue Down => Abort; [SHIFT] => Coords, Delete; [CTRL] => Coords, Delete; ENDCASE => Coords, Insert; Red Up WHILE Yellow Up WHILE Blue Up => Commit; Yellow Up WHILE Blue Up WHILE Red Up => Commit; Blue Up WHILE Red Up WHILE Yellow Up => Commit; ENDCASE.