gun moving & rotation on gamepad

moving , rotation
gamepad: x axis, z axis / keyboard: left(a), right(d), q, e