summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie/odevice.cpp28
1 files changed, 3 insertions, 25 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp
index 4258d60..013f804 100644
--- a/libopie/odevice.cpp
+++ b/libopie/odevice.cpp
@@ -371,24 +371,2 @@ struct s_button {
-struct r_button {
- uint model;
- Qt::Key code;
- char *utext;
- char *pix;
- char *fpressedservice;
- char *fpressedaction;
- char *fheldservice;
- char *fheldaction;
-} ramses_buttons [] = {
- { Model_Ramses_MNCI,
- Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Menu Button"),
- "devicebuttons/z_menu",
- "QPE/TaskBar", "toggleMenu()",
- "QPE/TaskBar", "toggleStartMenu()" },
- { Model_Ramses_MNCI,
- Qt::Key_F12, QT_TRANSLATE_NOOP("Button", "Home Button"),
- "devicebuttons/ipaq_home",
- "QPE/Launcher", "home()",
- "buttonsettings", "raise()" },
-};
-
class Yopy : public ODevice {
@@ -454,4 +432,2 @@ ODevice *ODevice::inst ( )
dev = new SIMpad ( );
- else if ( QFile::exists ( "/proc/sys/board/name" ))
- dev = new Ramses ( );
else if ( Yopy::isYopy() )
@@ -460,2 +436,4 @@ ODevice *ODevice::inst ( )
dev = new Jornada ( );
+ else if ( QFile::exists ( "/proc/sys/board/sys_name" ))
+ dev = new Ramses ( );
else
@@ -2530,3 +2508,3 @@ void Ramses::init()
- d->m_rotation = Rot0;
+ d->m_rotation = Rot90;
d->m_holdtime = 1000;