chrippa / ds4drv

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

how to write data to device to change led light and trigger vibration? #47

Closed warycat closed 8 years ago

warycat commented 10 years ago

I am writing a driver for ds4 on node.js. Do you have any byte sequence reference?

Ape commented 8 years ago

You can read the source code. This function might be useful for you: https://github.com/chrippa/ds4drv/blob/master/ds4drv/device.py#L117