irungentoo / Xiaomi_gamepad

It's a nice gamepad.
318 stars 71 forks source link

Accelerometer / Gyro help ? #66

Open LEMIR13 opened 5 years ago

LEMIR13 commented 5 years ago

First of all, thanks for all the work. I use your program with my Xiaomi Gamepad for a long time and although i had some problems time to time, I always manage to make it works.

I'm also interested in the gyroscope/accelerometer part and I can't find my way to install the program for some games.

I have the accelerometer_print file, i get that i must run the "hidraw" file as a command. I get the error when I try to run it. So, as I understand it, i must change something in this part : *device = "/dev/hidraw5""

What do I write instead of "/dev/hidraw5" ?

My PC ? My Username ? The place where the Hidraw file is on my computer ?

Thanks for all, I know you tried to explained it in your "readme" but I can't figure this last part of the xiaomi gamepad.