Remote control directionals

I’m looking for more information on how to catch the remote control’s click event, but without success. I saw information here on the forum that keydown does not work for the controller’s directional buttons. I tried to look at SpatialNavigation but without success.

Could you give me a more didactic example than the one I was able to find?

Keycodes for the arrow keys (Up, Down, Left, and Right) can be found in Magic Remote. And Remote Control sample app will also be helpful. Thank you.