chrippa / ds4drv

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

Multiple Key Mappings?? #118

Closed covelloz closed 6 months ago

covelloz commented 7 years ago

Just wondering if this wonderful program supports "duplicate" KEY -> button mappings. I didn't see an example of mapping the same KEY to different controller buttons in the ds4drv.conf file.

For example, both the left & right analog sticks being able move the mouse pointer.

Something like:

# Map relative mouse movement to a analog stick
REL_X = left_analog_x or right_analog_x 
REL_Y = left_analog_y or right_analog_y