chrippa / ds4drv

A Sony DualShock 4 userspace driver for Linux
MIT License
1.05k stars 213 forks source link

Added ability to invert relative mouse movement to analog stick #54

Closed MungoRae closed 8 years ago

MungoRae commented 9 years ago

I normally play with my Y axis inverted and I wanted to be able to specify mouse movement like

# Map relative mouse movement to a analog stick
REL_X = right_analog_x
REL_Y = -right_analog_y

So I have added in some code that allows me to do this.

Ape commented 8 years ago

Thanks! I reviewed the code and tested that this works.