-rw-r--r-- | examples/opiecore/oinputsystemdemo/oinputsystemdemo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/opiecore/oinputsystemdemo/oinputsystemdemo.cpp b/examples/opiecore/oinputsystemdemo/oinputsystemdemo.cpp index 6c95048..b49df99 100644 --- a/examples/opiecore/oinputsystemdemo/oinputsystemdemo.cpp +++ b/examples/opiecore/oinputsystemdemo/oinputsystemdemo.cpp @@ -64,4 +64,6 @@ int main( int argc, char** argv ) features += QString( "\nMiscellaneous: " ); if ( dev->hasFeature( OInputDevice::Miscellaneous ) ) features += "[ x ]"; else features += "[ ]"; + features += QString( "\nSwitches: " ); + if ( dev->hasFeature( OInputDevice::Switches ) ) features += "[ x ]"; else features += "[ ]"; features += QString( "\nLeds: " ); if ( dev->hasFeature( OInputDevice::Leds ) ) features += "[ x ]"; else features += "[ ]"; @@ -94,4 +96,6 @@ int main( int argc, char** argv ) odebug << "Global key mask: " << dev->globalKeyMask() << oendl; + odebug << "Global switch mask: " << dev->globalSwitchMask() << oendl; + ++it; |