stick icon indicating copy to clipboard operation
stick copied to clipboard

Nintendo Joycon gyro/accelerometer support

Open medakk opened this issue 2 years ago • 11 comments

Thanks for creating this library! Is there a way to access gyroscope and accelerometer data from Joycons currently? On Ubuntu 20.04 with the dkms-hid-nintendo, there are two input sources I can see:

/dev/input/js0
/dev/input/js1

js0 corresponds to buttons/analog stick and that works fine in stick. The gyro and accelerometer readings seem to be a part of js1. Is there a way I can use the "second" controller via stick?

I'm using the haptics example to test

medakk avatar Nov 09 '21 04:11 medakk