Index: plugins/linux/src/native/EventDevice.cpp
RCS file: /cvs/jinput/plugins/linux/src/native/EventDevice.cpp,v
retrieving revision 1.3
diff -u -r1.3 EventDevice.cpp
— plugins/linux/src/native/EventDevice.cpp 21 Apr 2004 09:48:54 -0000 1.3
+++ plugins/linux/src/native/EventDevice.cpp 24 Aug 2004 23:15:27 -0000
@@ -190,7 +190,7 @@
sprintf(errorMessage, “Error reading device %s\n”, deviceFileName);
perror(errorMessage);
}
@@ -334,9 +334,11 @@
//printf(“abs axis %d translates to abs axis %d on this device\n”, events[i].code, axisIndex);
break;
}
+/*
case EV_RST:
// not sure what to do here, doing nothing seems to work
break;
+*/
case EV_LED:
// reveiced for things like numlock led change
break;
@@ -363,11 +365,11 @@
}
int EventDevice::getAbsAxisMinimum(int axisNumber) {
- return abs_features[axisNumber].min_value;
- return abs_features[axisNumber].minimum;
}
int EventDevice::getAbsAxisMaximum(int axisNumber) {
- return abs_features[axisNumber].max_value;
- return abs_features[axisNumber].maximum;
}
int EventDevice::getAbsAxisFuzz(int axisNumber) {
Index: plugins/linux/src/native/eventInterfaceTypes.h
RCS file: /cvs/jinput/plugins/linux/src/native/eventInterfaceTypes.h,v
retrieving revision 1.1
diff -u -r1.1 eventInterfaceTypes.h
— plugins/linux/src/native/eventInterfaceTypes.h 31 Jul 2003 19:34:46 -0000 1.1
+++ plugins/linux/src/native/eventInterfaceTypes.h 24 Aug 2004 23:15:27 -0000
@@ -13,6 +13,7 @@
uint16_t version;
};
+/*
struct input_absinfo {
int curr_value;
int min_value;
@@ -20,5 +21,6 @@
int fuzz;
int flat;
};
+*/
#endif //eventInterfaceTypes_h