forked from: 格ゲーコマンド入力判定

格ゲーコマンド入力判定
Fighting game command detection
http://geoquake.jp/blog/2009/05/20/fightinggame/
Stick        = arrow keys or numpad
Punch button = Space, Ctrl, Z
Kick button  = Shift, N, M, X