Speaker functionaliteit verbeterd. Commentaar toegevoegd bij mogelijke verbeterpunten.

This commit is contained in:
2011-07-24 13:41:02 +00:00
parent 3852163f6e
commit f9bafb6fb9
6 changed files with 13 additions and 12 deletions

View File

@@ -1,5 +1,7 @@
#include "wiiuse.h"
#define MIN(x,y) ((x) < (y) ? (x) : (y))
#define WIIMOTE_GET_RUMBLE(wm) (WIIMOTE_IS_SET(wm, WIIMOTE_STATE_RUMBLE) ? 0x01 : 0x00)
#define WIIMOTE_GET_SPEAKER_MAX_VOLUME(wm) (wm->speaker.format == 0x00 ? 0x40 : 0xff)