As opposed to a targeted key press?
Seriously, what's the difference? It's very common for GUIs, and even TUIs, to accept key presses for actions