catch keydown/up event: 'command'