-rw-r--r-- | libopie/odevice.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index 02f13b5..2873407 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp @@ -1504,25 +1504,28 @@ void SIMpad::init ( ) d-> m_vendor = Vendor_SIEMENS; QFile f ( "/proc/hal/model" ); //TODO Implement model checking //FIXME For now we assume an SL4 d-> m_modelstr = "SL4"; d-> m_model = Model_SIMpad_SL4; switch ( d-> m_model ) { default: - d-> m_rotation = Rot270; + d-> m_rotation = Rot0; + d-> m_direction = CCW; + d-> m_holdtime = 1000; // 1000ms + break; } f. setName ( "/etc/familiar-version" ); if ( f. open ( IO_ReadOnly )) { d-> m_systemstr = "Familiar"; d-> m_system = System_Familiar; QTextStream ts ( &f ); d-> m_sysverstr = ts. readLine ( ). mid ( 10 ); f. close ( ); |