shouldn't the condition of the trigger usually be part of the trigger? I would suggest a KeyboardTrigger or something like this.