Xiaomi_gamepad icon indicating copy to clipboard operation
Xiaomi_gamepad copied to clipboard

The dead zone is big.

Open cukingpro opened this issue 8 years ago • 3 comments

Hi, The gamepad works very well. But the deadzone of the sticks are too big for me. Can I some how edit that ? Thanks.

cukingpro avatar Sep 03 '16 19:09 cukingpro

There's a deadzone on yours?

You could try recalibrating the controller by sending Calibration packets to it (see the protocol readme in the main repo and accelerometer_print for how to send packets to the controller).

irungentoo avatar Sep 03 '16 19:09 irungentoo

I ran the hidraw file but didnt know how to send the packets to the controller ? Can you show me ?

I moved the sticks and felt like there's no deadzone but when I'm in games, the deadzone is big.

cukingpro avatar Sep 04 '16 12:09 cukingpro

Line 42 is the packet and line 43 is the function used to send it, right now it's the packet to enable the accelerometer. The 3 in the HIDIOCSFEATURE(3) is the length of the packet.

I moved the sticks and felt like there's no deadzone

If it updates the values when you move the sticks a little then the issue is probably your operating system and not the controller.

irungentoo avatar Sep 04 '16 12:09 irungentoo