Search code examples
c++cmousewiimotewiiuse

Controlling mouse in linux


Basically I'm currently using the wiiuse library to get the wiimote working on linux. I want to now be able to control the mouse through the IR readings.

Can somebody point me in the right direction as to how to approach this? I know of uinput but there doesn't seem to be a lot of tutorials/guides on the web.

I'm working with c/c++ so a library in c/c++ would be helpful.

Cheers.


Solution

  • In the end I decided to just draw "cursor" objects on the screen and use setup each input device to control a separate "cursor" object. This seemed the best idea as we were short on time.