File indexing completed on 2024-12-22 05:17:14

0001 /*
0002  * This file is part of the KDE wacomtablet project. For copyright
0003  * information and license terms see the AUTHORS and COPYING files
0004  * in the top-level directory of this distribution.
0005  *
0006  * This program is free software; you can redistribute it and/or
0007  * modify it under the terms of the GNU General Public License as
0008  * published by the Free Software Foundation; either version 2 of
0009  * the License, or (at your option) any later version.
0010  *
0011  * This program is distributed in the hope that it will be useful,
0012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0014  * GNU General Public License for more details.
0015  *
0016  * You should have received a copy of the GNU General Public License
0017  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
0018  */
0019 
0020 #include "deviceproperty.h"
0021 
0022 using namespace Wacom;
0023 
0024 // instances container specialization instantiation
0025 template<>
0026 DevicePropertyTemplateSpecialization::PropertySetTemplateSpecialization::Container
0027     DevicePropertyTemplateSpecialization::PropertySetTemplateSpecialization::instances =
0028         DevicePropertyTemplateSpecialization::PropertySetTemplateSpecialization::Container();
0029 
0030 // config property instances
0031 const DeviceProperty DeviceProperty::AbsWheel2Down(Property::AbsWheel2Down, QLatin1String("AbsWheel2Down"));
0032 const DeviceProperty DeviceProperty::AbsWheel2Up(Property::AbsWheel2Up, QLatin1String("AbsWheel2Up"));
0033 const DeviceProperty DeviceProperty::AbsWheelDown(Property::AbsWheelDown, QLatin1String("AbsWheelDown"));
0034 const DeviceProperty DeviceProperty::AbsWheelUp(Property::AbsWheelUp, QLatin1String("AbsWheelUp"));
0035 const DeviceProperty DeviceProperty::Area(Property::Area, QLatin1String("Area"));
0036 const DeviceProperty DeviceProperty::Button1(Property::Button1, QLatin1String("Button1"));
0037 const DeviceProperty DeviceProperty::Button2(Property::Button2, QLatin1String("Button2"));
0038 const DeviceProperty DeviceProperty::Button3(Property::Button3, QLatin1String("Button3"));
0039 const DeviceProperty DeviceProperty::Button4(Property::Button4, QLatin1String("Button4"));
0040 const DeviceProperty DeviceProperty::Button5(Property::Button5, QLatin1String("Button5"));
0041 const DeviceProperty DeviceProperty::Button6(Property::Button6, QLatin1String("Button6"));
0042 const DeviceProperty DeviceProperty::Button7(Property::Button7, QLatin1String("Button7"));
0043 const DeviceProperty DeviceProperty::Button8(Property::Button8, QLatin1String("Button8"));
0044 const DeviceProperty DeviceProperty::Button9(Property::Button9, QLatin1String("Button9"));
0045 const DeviceProperty DeviceProperty::Button10(Property::Button10, QLatin1String("Button10"));
0046 const DeviceProperty DeviceProperty::Button11(Property::Button11, QLatin1String("Button11"));
0047 const DeviceProperty DeviceProperty::Button12(Property::Button12, QLatin1String("Button12"));
0048 const DeviceProperty DeviceProperty::Button13(Property::Button13, QLatin1String("Button13"));
0049 const DeviceProperty DeviceProperty::Button14(Property::Button14, QLatin1String("Button14"));
0050 const DeviceProperty DeviceProperty::Button15(Property::Button15, QLatin1String("Button15"));
0051 const DeviceProperty DeviceProperty::Button16(Property::Button16, QLatin1String("Button16"));
0052 const DeviceProperty DeviceProperty::Button17(Property::Button17, QLatin1String("Button17"));
0053 const DeviceProperty DeviceProperty::Button18(Property::Button18, QLatin1String("Button18"));
0054 const DeviceProperty DeviceProperty::CursorAccelProfile(Property::CursorAccelProfile, QLatin1String("CursorAccelProfile"));
0055 const DeviceProperty DeviceProperty::CursorAccelConstantDeceleration(Property::CursorAccelConstantDeceleration,
0056                                                                      QLatin1String("CursorAccelConstantDeceleration"));
0057 const DeviceProperty DeviceProperty::CursorAccelAdaptiveDeceleration(Property::CursorAccelAdaptiveDeceleration,
0058                                                                      QLatin1String("CursorAccelAdaptiveDeceleration"));
0059 const DeviceProperty DeviceProperty::CursorAccelVelocityScaling(Property::CursorAccelVelocityScaling, QLatin1String("CursorAccelVelocityScaling"));
0060 const DeviceProperty DeviceProperty::CursorProximity(Property::CursorProximity, QLatin1String("CursorProximity"));
0061 const DeviceProperty DeviceProperty::Gesture(Property::Gesture, QLatin1String("Gesture"));
0062 const DeviceProperty DeviceProperty::InvertScroll(Property::InvertScroll, QLatin1String("InvertScroll"));
0063 const DeviceProperty DeviceProperty::MapToOutput(Property::MapToOutput, QLatin1String("MapToOutput"));
0064 const DeviceProperty DeviceProperty::Mode(Property::Mode, QLatin1String("Mode"));
0065 const DeviceProperty DeviceProperty::PressureCurve(Property::PressureCurve, QLatin1String("PressureCurve"));
0066 const DeviceProperty DeviceProperty::RawSample(Property::RawSample, QLatin1String("RawSample"));
0067 const DeviceProperty DeviceProperty::RelWheelDown(Property::RelWheelDown, QLatin1String("RelWheelDown"));
0068 const DeviceProperty DeviceProperty::RelWheelUp(Property::RelWheelUp, QLatin1String("RelWheelUp"));
0069 const DeviceProperty DeviceProperty::Rotate(Property::Rotate, QLatin1String("Rotate"));
0070 const DeviceProperty DeviceProperty::ScreenMap(Property::ScreenMap, QLatin1String("ScreenMap"));
0071 const DeviceProperty DeviceProperty::ScreenSpace(Property::ScreenSpace, QLatin1String("ScreenSpace"));
0072 const DeviceProperty DeviceProperty::ScrollDistance(Property::ScrollDistance, QLatin1String("ScrollDistance"));
0073 const DeviceProperty DeviceProperty::StripLeftDown(Property::StripLeftDown, QLatin1String("StripLeftDown"));
0074 const DeviceProperty DeviceProperty::StripLeftUp(Property::StripLeftUp, QLatin1String("StripLeftUp"));
0075 const DeviceProperty DeviceProperty::StripRightDown(Property::StripRightDown, QLatin1String("StripRightDown"));
0076 const DeviceProperty DeviceProperty::StripRightUp(Property::StripRightUp, QLatin1String("StripRightUp"));
0077 const DeviceProperty DeviceProperty::Suppress(Property::Suppress, QLatin1String("Suppress"));
0078 const DeviceProperty DeviceProperty::TabletPcButton(Property::TabletPcButton, QLatin1String("TabletPcButton"));
0079 const DeviceProperty DeviceProperty::TapTime(Property::TapTime, QLatin1String("TapTime"));
0080 const DeviceProperty DeviceProperty::Threshold(Property::Threshold, QLatin1String("Threshold"));
0081 const DeviceProperty DeviceProperty::Touch(Property::Touch, QLatin1String("Touch"));
0082 const DeviceProperty DeviceProperty::ZoomDistance(Property::ZoomDistance, QLatin1String("ZoomDistance"));