v1993 / linuxmotehook2

Cemuhook UDP server for WiiMotes on Linux
GNU General Public License v3.0
20 stars 4 forks source link

Motion controls really slow #19

Open FedericoCalzoni opened 9 months ago

FedericoCalzoni commented 9 months ago

It is able to communicate the orientation of the controller, but it is really slow (5 seconds of lag more or less). (Tested in yuzu). Reducing the amount of data sent by the UDP communication might fix it.

v1993 commented 9 months ago

Do you have MotionPlus on your wiimote? Lack of it is likely to manifest in this manner in games that use gyroscope. This is not something that can really be fixed.

FedericoCalzoni commented 9 months ago

Do you have MotionPlus on your wiimote? Lack of it is likely to manifest in this manner in games that use gyroscope. This is not something that can really be fixed.

Using MotionPlus it improves a lot. But still not enough. In addition it seems that there is a continuous position drift, even if the controller is still. Maybe the two things are related. Other than the gyroscope everything works really well. From the xwiimote terminal gui, the gyroscope seems to work well.

v1993 commented 8 months ago

Position drift should be accounted for automatically by default - otherwise, you can set manual calibration (which is, admittedly, not exactly user-friendly as of now). Other than that - there's an inherent delay introduced by having an extra layer of processing between the controller and the emulator.

Reducing lag further would require sending updates more often, rather than less often, but I remember that causing issues of its own. Maybe that's worth giving another shot, though.