![]() |
vrecko
virtual reality framework
|
Example using the wiiuse API. More...
#include "precompiled.h"#include <osg/Notify>#include <osg/io_utils>#include <sstream>#include <vreckoDP/base/Wiimote.h>#include <vrecko/ReaderWriter.h>#include <vrecko/MTLock.h>Macros | |
| #define | NUM_WII_DEVICES 2 |
| #define | SEND_EVENT(name, msg) |
| #define | SEND_BUTTON(msg) SEND_EVENT("Button", msg) |
Variables | |
| MTLock | wiiSendersLock |
| std::vector< std::string > | wiiSenderStrings |
Example using the wiiuse API.
This file is an example of how to use the wiiuse library.
| #define NUM_WII_DEVICES 2 |
| #define SEND_BUTTON | ( | msg | ) | SEND_EVENT("Button", msg) |
| #define SEND_EVENT | ( | name, | |
| msg | |||
| ) |
| MTLock wiiSendersLock |
| std::vector<std::string> wiiSenderStrings |