#include <windows.h>
#include <tchar.h>
#include <queue>
#include <list>
#include "wiimote_state.h"
Go to the source code of this file.
Classes | |
struct | wiimote_state_event |
class | wiimote |
struct | wiimote::hid |
struct | wiimote::hid::queue_entry |
struct | wiimote::recording |
Defines | |
#define | _WIIMOTE_H |
#define | WIN32_LEAN_AND_MEAN |
#define | _ASSERT(x) ((void)0) |
#define | REQUEST_STATUS_EVERY_MS 1000 |
#define | DETECT_MPLUS_EVERY_MS 1000 |
#define | DETECT_MPLUS_COUNT 1 |
#define | WORKER_THREAD_PRIORITY THREAD_PRIORITY_HIGHEST |
#define | WIIYOURSELF_VERSION_MAJOR 1 |
#define | WIIYOURSELF_VERSION_MINOR1 1 |
#define | WIIYOURSELF_VERSION_MINOR2 5 |
#define | WIIYOURSELF_VERSION_STR _T("1.15") |
#define | TOTAL_BUTTON_BITS 16 |
#define | TOTAL_FREQUENCIES 10 |
Typedefs | |
typedef unsigned __int64 | QWORD |
typedef HANDLE | EVENT |
typedef void(* | state_changed_callback )(class wiimote &owner, state_change_flags changed, const wiimote_state &new_state) |
typedef BOOLEAN(__stdcall * | hidwrite_ptr )(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength) |
#define _ASSERT | ( | x ) | ((void)0) |
Definition at line 34 of file wiimote.h.
Referenced by wiimote::CalibrateAtRest(), wiimote::Connect(), wiimote::Convert16bitMonoSamples(), wiimote::Disconnect(), wiimote::EnableMotionPlus(), wiimote::EnableSpeaker(), wiimote::GetButtonNameFromBit(), wiimote::GetClassicButtonNameFromBit(), wiimote::GetFreqLookup(), wiimote_state::leds::Lit(), wiimote::Load16BitMonoSampleRAW(), wiimote::Load16bitMonoSampleWAV(), wiimote::MuteSpeaker(), wiimote::PlaySample(), wiimote::PlaySquareWave(), wiimote::RumbleForAsync(), wiimote::SetLEDs(), wiimote::SetReportType(), wiimote::SetRumble(), and wiimote::wiimote().
#define DETECT_MPLUS_COUNT 1 |
Definition at line 50 of file wiimote.h.
Referenced by wiimote::Connect().
#define DETECT_MPLUS_EVERY_MS 1000 |
Definition at line 49 of file wiimote.h.
Referenced by wiimote::Connect().
#define REQUEST_STATUS_EVERY_MS 1000 |
Definition at line 48 of file wiimote.h.
Referenced by wiimote::Connect().
#define TOTAL_BUTTON_BITS 16 |
Definition at line 63 of file wiimote.h.
Referenced by wiimote::GetButtonNameFromBit(), and wiimote::GetClassicButtonNameFromBit().
#define TOTAL_FREQUENCIES 10 |
Definition at line 64 of file wiimote.h.
Referenced by wiimote::GetFreqLookup().
#define WORKER_THREAD_PRIORITY THREAD_PRIORITY_HIGHEST |
Definition at line 53 of file wiimote.h.
Referenced by wiimote::PlaySample(), and wiimote::RumbleForAsync().
typedef BOOLEAN(__stdcall * hidwrite_ptr)(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength) |
typedef void(* state_changed_callback)(class wiimote &owner, state_change_flags changed, const wiimote_state &new_state) |