Enkele aanpassingen in WiiuseJ gemaakt.
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user