I found with Xbox One game controllers, trigger/left right stays at half pressed position. After compared to moonlight-qt, I think the reason is because SDL_CONTROLLER_AXIS_TRIGGER(LEFT|RIGHT) only has range in 0~32767, and -1~-32768 are not used.
Purpose
This PR maps trigger value 0~32767 to 0~255, follows logic from moonlight-qt
Also added .ignore for common build dir
Description
I found with Xbox One game controllers, trigger/left right stays at half pressed position. After compared to moonlight-qt, I think the reason is because
SDL_CONTROLLER_AXIS_TRIGGER(LEFT|RIGHT)
only has range in0~32767
, and-1~-32768
are not used.Purpose This PR maps trigger value
0~32767
to0~255
, follows logic from moonlight-qt Also added .ignore for common build dir