0

How to detect in jQuery comination of:

Arrow Up + Arrow Right

Arrow Up + Arrow Left

Arrow Down + Arrow Right

Arrow Down + Arrow Left

And not combination, just like

Arrow Up

Arrow Down

Arrow Left

Arrow Right

Community
  • 1
  • 1
John Smit
  • 11
  • 1
  • 2

1 Answers1

1

I found much more easy dealing with key combos when using some plugin. I'm not a fan of using plugins for each thing, but sometinmes they just save a lot of time. My personal choice is

KeyboardJS - http://robertwhurst.github.com/KeyboardJS/

monxas
  • 2,475
  • 2
  • 20
  • 36