Enkele aanpassingen in WiiuseJ gemaakt.

This commit is contained in:
2011-02-15 19:13:46 +00:00
parent fcfafc0ac3
commit 29a329af78

View File

@@ -670,6 +670,7 @@ JNIEXPORT void JNICALL Java_wiiusej_WiiUseApi_specialPoll
} }
} }
/* Calibration */
JNIEXPORT jshortArray JNICALL Java_wiiusej_WiiUseApi_getCalibration JNIEXPORT jshortArray JNICALL Java_wiiusej_WiiUseApi_getCalibration
(JNIEnv *env, jobject obj, jint id) { (JNIEnv *env, jobject obj, jint id) {
struct wiimote_t wm = *wiiuse_get_by_id(wiimotes, nbMaxWiimotes, id); struct wiimote_t wm = *wiiuse_get_by_id(wiimotes, nbMaxWiimotes, id);
@@ -685,6 +686,7 @@ JNIEXPORT jshortArray JNICALL Java_wiiusej_WiiUseApi_getCalibration
return jShorts; return jShorts;
} }
/* Speaker */
#include "speaker.h" #include "speaker.h"
/* /*
void test(struct wiimote_t* wm) { void test(struct wiimote_t* wm) {