summaryrefslogtreecommitdiff
path: root/libopie
authorocheong <ocheong>2003-10-09 10:39:30 (UTC)
committer ocheong <ocheong>2003-10-09 10:39:30 (UTC)
commitc37ffc2854d1c968eb28d4ae185b5c64877c6e9d (patch) (unidiff)
treea8754364ee281b1decff519bf723723b5057ee2f /libopie
parent67f75e91f3fa7f21df2e19749a6ad53e9d237f8b (diff)
downloadopie-c37ffc2854d1c968eb28d4ae185b5c64877c6e9d.zip
opie-c37ffc2854d1c968eb28d4ae185b5c64877c6e9d.tar.gz
opie-c37ffc2854d1c968eb28d4ae185b5c64877c6e9d.tar.bz2
Added definitions for Yopy model, vendor, and hardkeys.
Diffstat (limited to 'libopie') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h
index d8ad135..2a5e494 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -62,71 +62,84 @@ enum OModel {
62 Model_SIMpad = ( 3 << 24 ), 62 Model_SIMpad = ( 3 << 24 ),
63 63
64 Model_SIMpad_All = ( Model_SIMpad | 0xffffff ), 64 Model_SIMpad_All = ( Model_SIMpad | 0xffffff ),
65 Model_SIMpad_CL4 = ( Model_SIMpad | 0x000001 ), 65 Model_SIMpad_CL4 = ( Model_SIMpad | 0x000001 ),
66 Model_SIMpad_SL4 = ( Model_SIMpad | 0x000002 ), 66 Model_SIMpad_SL4 = ( Model_SIMpad | 0x000002 ),
67 Model_SIMpad_SLC = ( Model_SIMpad | 0x000004 ), 67 Model_SIMpad_SLC = ( Model_SIMpad | 0x000004 ),
68 Model_SIMpad_TSinus = ( Model_SIMpad | 0x000008 ), 68 Model_SIMpad_TSinus = ( Model_SIMpad | 0x000008 ),
69 69
70 Model_Ramses = ( 4 << 24 ), 70 Model_Ramses = ( 4 << 24 ),
71 71
72 Model_Ramses_All = ( Model_Ramses | 0xffffff ), 72 Model_Ramses_All = ( Model_Ramses | 0xffffff ),
73 Model_Ramses_MNCI = ( Model_Ramses | 0x000001 ), 73 Model_Ramses_MNCI = ( Model_Ramses | 0x000001 ),
74
75 Model_Yopy = ( 5 << 24 ),
76
77 Model_Yopy_All = ( Model_Yopy | 0xffffff ),
78 Model_Yopy_3000 = ( Model_Yopy | 0x000001 ),
79 Model_Yopy_3500 = ( Model_Yopy | 0x000002 ),
80 Model_Yopy_3700 = ( Model_Yopy | 0x000003 ),
81
74}; 82};
75 83
76/** 84/**
77 * The vendor of the device 85 * The vendor of the device
78 */ 86 */
79enum OVendor { 87enum OVendor {
80 Vendor_Unknown, 88 Vendor_Unknown,
81 89
82 Vendor_HP, 90 Vendor_HP,
83 Vendor_Sharp, 91 Vendor_Sharp,
84 Vendor_SIEMENS, 92 Vendor_SIEMENS,
85 Vendor_MundN, 93 Vendor_MundN,
94 Vendor_GMate,
86}; 95};
87 96
88/** 97/**
89 * The System used 98 * The System used
90 */ 99 */
91enum OSystem { 100enum OSystem {
92 System_Unknown, 101 System_Unknown,
93 102
94 System_Familiar, 103 System_Familiar,
95 System_Zaurus, 104 System_Zaurus,
96 System_OpenZaurus 105 System_OpenZaurus,
106 System_Linupy,
97}; 107};
98 108
99enum OLedState { 109enum OLedState {
100 Led_Off, 110 Led_Off,
101 Led_On, 111 Led_On,
102 Led_BlinkSlow, 112 Led_BlinkSlow,
103 Led_BlinkFast 113 Led_BlinkFast
104}; 114};
105 115
106enum OLed { 116enum OLed {
107 Led_Mail, 117 Led_Mail,
108 Led_Power, 118 Led_Power,
109 Led_BlueTooth 119 Led_BlueTooth
110}; 120};
111 121
112enum OHardKey { 122enum OHardKey {
113 HardKey_Datebook = Qt::Key_F9, 123 HardKey_Datebook = Qt::Key_F9,
114 HardKey_Contacts = Qt::Key_F10, 124 HardKey_Contacts = Qt::Key_F10,
115 HardKey_Menu = Qt::Key_F11, 125 HardKey_Menu = Qt::Key_F11,
116 HardKey_Home = Qt::Key_F12, 126 HardKey_Home = Qt::Key_F12,
117 HardKey_Mail = Qt::Key_F13, 127 HardKey_Mail = Qt::Key_F13,
118 HardKey_Record = Qt::Key_F24, 128 HardKey_Record = Qt::Key_F24,
119 HardKey_Suspend = Qt::Key_F34, 129 HardKey_Suspend = Qt::Key_F34,
120 HardKey_Backlight = Qt::Key_F35, 130 HardKey_Backlight = Qt::Key_F35,
131 HardKey_Action = Qt::Key_F10,
132 HardKey_OK = Qt::Key_F11,
133 HardKey_End = Qt::Key_F12,
121}; 134};
122 135
123enum ODirection { 136enum ODirection {
124 CW = 0, 137 CW = 0,
125 CCW = 1, 138 CCW = 1,
126 Flip = 2, 139 Flip = 2,
127}; 140};
128 141
129/** 142/**
130 * A singleton which gives informations about device specefic option 143 * A singleton which gives informations about device specefic option
131 * like the Hardware used, LEDs, the Base Distribution and 144 * like the Hardware used, LEDs, the Base Distribution and
132 * hardware key mappings. 145 * hardware key mappings.