summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_jornada.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice_jornada.cpp b/libopie2/opiecore/device/odevice_jornada.cpp
index bcde425..3acba03 100644
--- a/libopie2/opiecore/device/odevice_jornada.cpp
+++ b/libopie2/opiecore/device/odevice_jornada.cpp
@@ -155,13 +155,18 @@ void Jornada::initButtons()
}
reloadButtonMapping();
}
int Jornada::displayBrightnessResolution() const
{
- return 255;
+ if ( d->m_model == Model_Jornada_56x )
+ return 190;
+ else if (d->m_model == Model_Jornada_720 )
+ return 255;
+ else
+ return 0;
}
bool Jornada::setDisplayBrightness( int bright )
{
bool res = false;