These two don't seem to match. Shouldn't this be __CtrlButtonDown((~pressedLastUpdate) & pressed) ?