From cde931654d1966be6989e6c8f3cfacb23e6822a2 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Wed, 31 Aug 2005 10:21:12 +0000 Subject: - add support for the new Switches type in the Linux Input System (coming with 2.6.14) - use the new Switches support to rewrite the hinge sensor handling on Zaurus models w/ 2.6 - add Switches support to SysInfo, OInputSystem, oinputsystemdemo --- (limited to 'noncore/settings') diff --git a/noncore/settings/sysinfo/devicesinfo.cpp b/noncore/settings/sysinfo/devicesinfo.cpp index 76c9b79..176d178 100644 --- a/noncore/settings/sysinfo/devicesinfo.cpp +++ b/noncore/settings/sysinfo/devicesinfo.cpp @@ -397,6 +397,7 @@ void InputDevice::setInfo( const OInputDevice* dev ) if ( dev->hasFeature( OInputDevice::Relative ) ) text += "Relative"; if ( dev->hasFeature( OInputDevice::Absolute ) ) text += "Absolute"; if ( dev->hasFeature( OInputDevice::Miscellaneous ) ) text += "Miscellaneous"; + if ( dev->hasFeature( OInputDevice::Switches ) ) text += "Switches"; if ( dev->hasFeature( OInputDevice::Leds ) ) text += "Leds"; if ( dev->hasFeature( OInputDevice::Sound ) ) text += "Sound"; if ( dev->hasFeature( OInputDevice::AutoRepeat ) ) text += "AutoRepeat"; -- cgit v0.9.0.2