simphax / Touchmote

Touchmote
GNU General Public License v3.0
116 stars 31 forks source link

Pointer freezes in one position after waking up wiimote or PC (Dolphinbar) #57

Open yodus opened 9 years ago

yodus commented 9 years ago

After waking up PC from a sleep or waking up wiimote from power-off state pointer freezes in one position. How to reproduce problem:

I found that problem lies rather in WiimoteLib than in Touchmote itself. In "ParseInputReport" method, type of InputReport is never "IR sensor" for some reason..

yodus commented 8 years ago

So I figured out where the problem lies.

I don't know how to detect when wiimote is being connected or disconnected from Dolphinbar to change input report back to IRExtensionAccel. I've tried with "wm_devicechange" windows message with no luck.

For now I've made dirty hack:

Does any one have any ideas ho to make it in more elegant way?

nabsiddiqui commented 7 years ago

This is also effecting me. Did you ever find any other solution?