author | llornkcor <llornkcor> | 2004-08-17 22:43:56 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-08-17 22:43:56 (UTC) |
commit | 5e11a688c1b9f1d411322df6fb3d4d96613fd44d (patch) (unidiff) | |
tree | 123fea1b43e59c06835cd26d6fb3203a84d72357 /libopie2/opiecore/device | |
parent | 502c9b68e4739b6d487bb2ccd98e34535b7d4f77 (diff) | |
download | opie-5e11a688c1b9f1d411322df6fb3d4d96613fd44d.zip opie-5e11a688c1b9f1d411322df6fb3d4d96613fd44d.tar.gz opie-5e11a688c1b9f1d411322df6fb3d4d96613fd44d.tar.bz2 |
add sl-6000
-rw-r--r-- | libopie2/opiecore/device/odevice.h | 1 | ||||
-rw-r--r-- | libopie2/opiecore/device/odevice_zaurus.cpp | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice.h b/libopie2/opiecore/device/odevice.h index 762d3f1..cb7a83f 100644 --- a/libopie2/opiecore/device/odevice.h +++ b/libopie2/opiecore/device/odevice.h | |||
@@ -71,12 +71,13 @@ enum OModel { | |||
71 | 71 | ||
72 | Model_Zaurus_SL5000 = ( Model_Zaurus | 0x000001 ), | 72 | Model_Zaurus_SL5000 = ( Model_Zaurus | 0x000001 ), |
73 | Model_Zaurus_SL5500 = ( Model_Zaurus | 0x000002 ), | 73 | Model_Zaurus_SL5500 = ( Model_Zaurus | 0x000002 ), |
74 | Model_Zaurus_SLA300 = ( Model_Zaurus | 0x000003 ), | 74 | Model_Zaurus_SLA300 = ( Model_Zaurus | 0x000003 ), |
75 | Model_Zaurus_SLB600 = ( Model_Zaurus | 0x000004 ), | 75 | Model_Zaurus_SLB600 = ( Model_Zaurus | 0x000004 ), |
76 | Model_Zaurus_SLC7x0 = ( Model_Zaurus | 0x000005 ), | 76 | Model_Zaurus_SLC7x0 = ( Model_Zaurus | 0x000005 ), |
77 | Model_Zaurus_SL6000 = ( Model_Zaurus | 0x000006 ), | ||
77 | 78 | ||
78 | Model_SIMpad = ( 3 << 24 ), | 79 | Model_SIMpad = ( 3 << 24 ), |
79 | 80 | ||
80 | Model_SIMpad_All = ( Model_SIMpad | 0xffffff ), | 81 | Model_SIMpad_All = ( Model_SIMpad | 0xffffff ), |
81 | Model_SIMpad_CL4 = ( Model_SIMpad | 0x000001 ), | 82 | Model_SIMpad_CL4 = ( Model_SIMpad | 0x000001 ), |
82 | Model_SIMpad_SL4 = ( Model_SIMpad | 0x000002 ), | 83 | Model_SIMpad_SL4 = ( Model_SIMpad | 0x000002 ), |
diff --git a/libopie2/opiecore/device/odevice_zaurus.cpp b/libopie2/opiecore/device/odevice_zaurus.cpp index 6ac3157..47682bb 100644 --- a/libopie2/opiecore/device/odevice_zaurus.cpp +++ b/libopie2/opiecore/device/odevice_zaurus.cpp | |||
@@ -171,21 +171,25 @@ void Zaurus::init(const QString& cpu_info) | |||
171 | } else if ( model == "SHARP Poodle" ) { | 171 | } else if ( model == "SHARP Poodle" ) { |
172 | d->m_model = Model_Zaurus_SLB600; | 172 | d->m_model = Model_Zaurus_SLB600; |
173 | d->m_modelstr = "Zaurus SL-B500 or SL-5600"; | 173 | d->m_modelstr = "Zaurus SL-B500 or SL-5600"; |
174 | } else if ( model == "Sharp-Collie" || model == "Collie" ) { | 174 | } else if ( model == "Sharp-Collie" || model == "Collie" ) { |
175 | d->m_model = Model_Zaurus_SL5500; | 175 | d->m_model = Model_Zaurus_SL5500; |
176 | d->m_modelstr = "Zaurus SL-5500 or SL-5000d"; | 176 | d->m_modelstr = "Zaurus SL-5500 or SL-5000d"; |
177 | } else if ( model == "SHARP Tosa" ) { | ||
178 | d->m_model = Model_Zaurus_SL6000; | ||
179 | d->m_modelstr = "Zaurus SL-6000"; | ||
177 | } else { | 180 | } else { |
178 | d->m_model = Model_Zaurus_SL5500; | 181 | d->m_model = Model_Zaurus_SL5500; |
179 | d->m_modelstr = "Unkown Zaurus"; | 182 | d->m_modelstr = "Unkown Zaurus"; |
180 | } | 183 | } |
181 | 184 | ||
182 | // set initial rotation | 185 | // set initial rotation |
183 | 186 | ||
184 | bool flipstate = false; | 187 | bool flipstate = false; |
185 | switch ( d->m_model ) { | 188 | switch ( d->m_model ) { |
189 | case Model_Zaurus_SL6000: | ||
186 | case Model_Zaurus_SLA300: | 190 | case Model_Zaurus_SLA300: |
187 | d->m_rotation = Rot0; | 191 | d->m_rotation = Rot0; |
188 | break; | 192 | break; |
189 | case Model_Zaurus_SLC7x0: | 193 | case Model_Zaurus_SLC7x0: |
190 | d->m_rotation = rotation(); | 194 | d->m_rotation = rotation(); |
191 | d->m_direction = direction(); | 195 | d->m_direction = direction(); |