update: the clutch is working (is recognized as slider0), but does not show up in the commandline util, since a slider callback is missing. With this patch the commandline util can also display slider changes:
Index: demos/OISConsole.cpp
===================================================================
--- demos/OISConsole.cpp (revision 319)
+++ demos/OISConsole.cpp (working copy)
@@ -109,6 +109,11 @@
std::cout << std::endl << arg.device->vendor() << ". Button Released # " << button;
return true;
}
+ bool sliderMoved( const JoyStickEvent &arg, int slider )
+ {
+ std::cout << std::endl << arg.device->vendor() << ". Slider # " << slider << " Value: " << arg.state.mSliders[slider].abX;
+ return true;
+ }
bool axisMoved( const JoyStickEvent &arg, int axis )
{
//Provide a little dead zone