added gamepad hat motion