More bugfixes for Evdev code. Enable ROOT_BUILD since it's the root branch.

This commit is contained in:
Cameron Gutman
2014-09-01 23:38:47 -07:00
parent 364a9fa7d7
commit bc166a713d
5 changed files with 18 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ Java_com_limelight_binding_input_evdev_EvdevReader_isMouse(JNIEnv *env, jobject
}
JNIEXPORT jint JNICALL
Java_com_limelight_binding_input_evdev_EvdevReader_read(JNIEnv *env, jint fd, jbyteArray buffer) {
Java_com_limelight_binding_input_evdev_EvdevReader_read(JNIEnv *env, jobject this, jint fd, jbyteArray buffer) {
jint ret;
jbyte *data = (*env)->GetByteArrayElements(env, buffer, NULL);
if (data == NULL) {