summaryrefslogtreecommitdiff
path: root/libopie/odevice.cpp
authorkergoth <kergoth>2003-04-01 02:15:50 (UTC)
committer kergoth <kergoth>2003-04-01 02:15:50 (UTC)
commite74e3a64223b5b57ca0c23c77ba06c63e648f09a (patch) (unidiff)
treea3783391e604a49a52d9cbb8d9934ad6f1f8f415 /libopie/odevice.cpp
parentf23b042e2ac0a8b31a51c1059dee281156dd5ce9 (diff)
downloadopie-e74e3a64223b5b57ca0c23c77ba06c63e648f09a.zip
opie-e74e3a64223b5b57ca0c23c77ba06c63e648f09a.tar.gz
opie-e74e3a64223b5b57ca0c23c77ba06c63e648f09a.tar.bz2
Set appropriate default rotation for SL-A300.
Diffstat (limited to 'libopie/odevice.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp
index 377945d..55ba7bd 100644
--- a/libopie/odevice.cpp
+++ b/libopie/odevice.cpp
@@ -1014,13 +1014,15 @@ void Zaurus::init ( )
1014 d-> m_modelstr = "Zaurus (model unknown)"; 1014 d-> m_modelstr = "Zaurus (model unknown)";
1015 } 1015 }
1016 1016
1017 switch ( d-> m_model ) { 1017 switch ( d-> m_model ) {
1018 case Model_Zaurus_SLA300:
1019 d-> m_rotation = Rot0;
1020 break;
1018 case Model_Zaurus_SLC700: 1021 case Model_Zaurus_SLC700:
1019 /* note for C700, we must check the display rotation 1022 /* note for C700, we must check the display rotation
1020 * sensor to set an appropriate value 1023 * sensor to set an appropriate value
1021 */ 1024 */
1022 case Model_Zaurus_SLA300:
1023 case Model_Zaurus_SLB600: 1025 case Model_Zaurus_SLB600:
1024 case Model_Zaurus_SL5500: 1026 case Model_Zaurus_SL5500:
1025 case Model_Zaurus_SL5000: 1027 case Model_Zaurus_SL5000:
1026 default: 1028 default: