ゲーム用入力クラスの作成

通常はキーボード入力ですが、ゲームパッドをUSBポートに刺すとそちらに切り替わります。抜くとキーボード入力に戻ります。
ボタン
キー
ステータス
up
down
left
right
start
back
shoot1
shoot2
shoot3
shoot4