Problem with the cursor

I’m using this plugin [Free Plugin] Air Keyboard Shortcut to catch enter and esc keys and it works really well. I am not looking at arrow keys but it does that too (up, down, left, right). I suggest you try this plug-in and see if it does what you need.