Wiimote Project » General Wiimote and Technology » Programmers Den » About C program for communication with Wiimote
: [1]
: About C program for communication with Wiimote  ( 3889 )
0 and 1 Guest are viewing this topic.
Karma: +0/-0
: 37
Offline Offline
« : November 13, 2008, 05:59:19 AM »

 Hi Dear all.

I have been studying the popular C program "wiiuse" which is publicly acceible in wiiuse.net . Since i am not much into programming I would like to acruire some knowledge about it. Can you help me with the following info :

- What is the main module turning on the program?
- Is that a real-time program that is updated automatically?
- How fast do you thnk it is ?
- How is the program called for a specific funcinality like acquiring the position of IR LEDSs?

If you could even give me short comments that will suffice!

Karma: +0/-0
: 7
Offline Offline
« #1 : November 17, 2008, 04:20:46 PM »

It's all pretty much in the manual. 

1) You have to tell it how many Wiimotes you will need to connect to and it will create a structure to hold all the data for you, then you use this pointer in all other function.  Look at the sample program that comes with it.

2)I think it does update automatically, but you still have to poll for data, like what buttons are up and what is the xyz from the accelerometer.

3)It looks pretty fast.  Run the test program and try it out.  It looks pretty fast for me.

4)Read the manual.

: [1]

Clicky Web Analytics