[prev in list] [next in list] [prev in thread] [next in thread]
List: rockbox-cvs
Subject: funman: r18952 - in trunk: apps/lang firmware firmware/export
From: mailer () svn ! rockbox ! org
Date: 2008-10-31 22:02:43
Message-ID: 200810312202.m9VM2hIh029680 () giant ! haxx ! se
[Download RAW message or body]
Date: 2008-10-31 23:02:41 +0100 (Fri, 31 Oct 2008)
New Revision: 18952
Log Message:
Clip: add backlight and buttonlight code
Revive lcd_enable() as well, and use it in _backlight_on/off()
Don't update the lcd framebuffer if the display is off
Added:
trunk/firmware/target/arm/as3525/sansa-clip/backlight-clip.c
Modified:
trunk/apps/lang/bulgarian.lang
trunk/apps/lang/catala.lang
trunk/apps/lang/chinese-simp.lang
trunk/apps/lang/chinese-trad.lang
trunk/apps/lang/czech.lang
trunk/apps/lang/dansk.lang
trunk/apps/lang/deutsch.lang
trunk/apps/lang/english.lang
trunk/apps/lang/espanol.lang
trunk/apps/lang/finnish.lang
trunk/apps/lang/francais.lang
trunk/apps/lang/greek.lang
trunk/apps/lang/hebrew.lang
trunk/apps/lang/italiano.lang
trunk/apps/lang/japanese.lang
trunk/apps/lang/korean.lang
trunk/apps/lang/magyar.lang
trunk/apps/lang/nederlands.lang
trunk/apps/lang/norsk-nynorsk.lang
trunk/apps/lang/norsk.lang
trunk/apps/lang/polski.lang
trunk/apps/lang/portugues-brasileiro.lang
trunk/apps/lang/romaneste.lang
trunk/apps/lang/russian.lang
trunk/apps/lang/srpski.lang
trunk/apps/lang/svenska.lang
trunk/apps/lang/tagalog.lang
trunk/apps/lang/thai.lang
trunk/firmware/SOURCES
trunk/firmware/export/config-clip.h
trunk/firmware/target/arm/as3525/sansa-clip/backlight-target.h
trunk/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
trunk/uisimulator/sdl/uisdl.h
Modified: trunk/apps/lang/bulgarian.lang
===================================================================
--- trunk/apps/lang/bulgarian.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/bulgarian.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -10221,17 +10221,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Изключване на осветяването на \
колелото"
- c200,gigabeatf,mrobe100,sa9200: "Изключване на \
осветяването на бутоните" + \
clip,c200,gigabeatf,mrobe100,sa9200: "Изключване на \
осветяването на бутоните" </dest>
<voice>
*: none
e200*: ""
- c200,gigabeatf,mrobe100,sa9200: ""
+ clip,c200,gigabeatf,mrobe100,sa9200: ""
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/catala.lang
===================================================================
--- trunk/apps/lang/catala.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/catala.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3828,17 +3828,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Apagat de llum de roda"
- c200,gigabeatf,mrobe100,sa9200: "Apagat de llum de botons"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Apagat de llum de botons"
</dest>
<voice>
*: none
e200*: "Apagat de llum de roda"
- c200,gigabeatf,mrobe100,sa9200: "Apagat de llum de botons"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Apagat de llum de botons"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/chinese-simp.lang
===================================================================
--- trunk/apps/lang/chinese-simp.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/chinese-simp.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -10687,17 +10687,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "转盘背光自动关闭时滞"
- c200,gigabeatf,mrobe100,sa9200: "按键背光自动关闭时滞"
+ clip,c200,gigabeatf,mrobe100,sa9200: "按键背光自动关闭时滞"
</dest>
<voice>
*: none
e200*: "转盘背光自动关闭时滞"
- c200,gigabeatf,mrobe100,sa9200: "按键背光自动关闭时滞"
+ clip,c200,gigabeatf,mrobe100,sa9200: "按键背光自动关闭时滞"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/chinese-trad.lang
===================================================================
--- trunk/apps/lang/chinese-trad.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/chinese-trad.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -10705,17 +10705,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "轉盤燈自動關時間"
- c200,gigabeatf,mrobe100,sa9200: ""
+ clip,c200,gigabeatf,mrobe100,sa9200: ""
</dest>
<voice>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: ""
+ clip,c200,gigabeatf,mrobe100,sa9200: ""
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/czech.lang
===================================================================
--- trunk/apps/lang/czech.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/czech.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3836,17 +3836,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Časový limit osvětlení kolečka"
- c200,gigabeatf,mrobe100,sa9200: ""
+ clip,c200,gigabeatf,mrobe100,sa9200: ""
</dest>
<voice>
*: none
e200*: "Časový limit osvětlení kolečka"
- c200,gigabeatf,mrobe100,sa9200: ""
+ clip,c200,gigabeatf,mrobe100,sa9200: ""
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/dansk.lang
===================================================================
--- trunk/apps/lang/dansk.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/dansk.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -9933,17 +9933,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Hjul-lys sluk"
- c200,gigabeatf,mrobe100,sa9200: "Knap-lys sluk"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Knap-lys sluk"
</dest>
<voice>
*: none
e200*: "Hjul-lys sluk"
- c200,gigabeatf,mrobe100,sa9200: "Knap-lys sluk"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Knap-lys sluk"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/deutsch.lang
===================================================================
--- trunk/apps/lang/deutsch.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/deutsch.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3850,17 +3850,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Scrollradbeleuchtungsdauer"
- c200,gigabeatf,mrobe100,sa9200: "Tastenbeleuchtungsdauer"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Tastenbeleuchtungsdauer"
</dest>
<voice>
*: none
e200*: "Scrollradbeleuchtungsdauer"
- c200,gigabeatf,mrobe100,sa9200: "Tastenbeleuchtungsdauer"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Tastenbeleuchtungsdauer"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/english.lang
===================================================================
--- trunk/apps/lang/english.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/english.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3924,17 +3924,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</dest>
<voice>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/espanol.lang
===================================================================
--- trunk/apps/lang/espanol.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/espanol.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -11181,17 +11181,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Tiempo de espera en la luz de la rueda"
- c200,gigabeatf,mrobe100,sa9200: "Tiempo de espera en la luz del botón"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Tiempo de espera en la luz del botón"
</dest>
<voice>
*: none
e200*: "Tiempo de espera en la luz de la rueda"
- c200,gigabeatf,mrobe100,sa9200: "Tiempo de espera en la luz del botón"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Tiempo de espera en la luz del botón"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/finnish.lang
===================================================================
--- trunk/apps/lang/finnish.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/finnish.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -9974,17 +9974,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Rullavalon aikakatkaisu"
- c200,gigabeatf,mrobe100,sa9200: "Painikevalon aikakatkaisu"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Painikevalon aikakatkaisu"
</dest>
<voice>
*: none
e200*: "Rullavalon aikakatkaisu"
- c200,gigabeatf,mrobe100,sa9200: "Painikevalon aikakatkaisu"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Painikevalon aikakatkaisu"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/francais.lang
===================================================================
--- trunk/apps/lang/francais.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/francais.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3880,17 +3880,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Durée de l'éclairage de la molette"
- c200,gigabeatf,mrobe100,sa9200: "Durée de l'éclairage des touches"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Durée de l'éclairage des touches"
</dest>
<voice>
*: none
e200*: "Durée de l'éclairage de la molette"
- c200,gigabeatf,mrobe100,sa9200: "Durée de l'éclairage des touches"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Durée de l'éclairage des touches"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/greek.lang
===================================================================
--- trunk/apps/lang/greek.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/greek.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3838,17 +3838,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Χρόνος σβησίματος τροχού"
- c200,gigabeatf,mrobe100,sa9200: "Χρόνος σβησίματος \
πλήκτρων" + clip,c200,gigabeatf,mrobe100,sa9200: "Χρόνος \
σβησίματος πλήκτρων" </dest>
<voice>
*: none
e200*: "Χρόνος σβησίματος τροχού"
- c200,gigabeatf,mrobe100,sa9200: "Χρόνος σβησίματος \
πλήκτρων" + clip,c200,gigabeatf,mrobe100,sa9200: "Χρόνος \
σβησίματος πλήκτρων" </voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/hebrew.lang
===================================================================
--- trunk/apps/lang/hebrew.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/hebrew.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3832,17 +3832,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "זמן תאורת הגלגל"
- c200,gigabeatf,mrobe100,sa9200: "זמן תאורת כפתור"
+ clip,c200,gigabeatf,mrobe100,sa9200: "זמן תאורת כפתור"
</dest>
<voice>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/italiano.lang
===================================================================
--- trunk/apps/lang/italiano.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/italiano.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3853,17 +3853,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Tempo di spegnimento illuminazione rotella"
- c200,gigabeatf,mrobe100,sa9200: "Tempo di spegnimento illuminazione tasti"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Tempo di spegnimento illuminazione tasti"
</dest>
<voice>
*: none
e200*: "Tempo di spegnimento illuminazione rotella"
- c200,gigabeatf,mrobe100,sa9200: "Tempo di spegnimento illuminazione tasti"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Tempo di spegnimento illuminazione tasti"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/japanese.lang
===================================================================
--- trunk/apps/lang/japanese.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/japanese.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3834,17 +3834,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "ホイールライトのタイ アウト"
- c200,gigabeatf,mrobe100,sa9200: "ボタンライトのタイ アウト"
+ clip,c200,gigabeatf,mrobe100,sa9200: "ボタンライトのタイ アウト"
</dest>
<voice>
*: none
e200*: "ホイールライトのタイ アウト"
- c200,gigabeatf,mrobe100,sa9200: "ボタンライトのタイ アウト"
+ clip,c200,gigabeatf,mrobe100,sa9200: "ボタンライトのタイ アウト"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/korean.lang
===================================================================
--- trunk/apps/lang/korean.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/korean.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -10762,17 +10762,17 @@
<source>
*: ""
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100: "Button Light Timeout"
</source>
<dest>
*: ""
e200*: " 버튼 조명 시간"
- c200,gigabeatf,mrobe100: "버튼 조명 시간"
+ clip,c200,gigabeatf,mrobe100: "버튼 조명 시간"
</dest>
<voice>
*: ""
e200*: " 버튼 조명 시간"
- c200,gigabeatf,mrobe100: "버튼 조명 시간"
+ clip,c200,gigabeatf,mrobe100: "버튼 조명 시간"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/magyar.lang
===================================================================
--- trunk/apps/lang/magyar.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/magyar.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3827,17 +3827,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Kerék világításának hossza"
- c200,gigabeatf,mrobe100: "Gomb világításának hossza"
+ clip,c200,gigabeatf,mrobe100: "Gomb világításának hossza"
</dest>
<voice>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100: "Button Light Timeout"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/nederlands.lang
===================================================================
--- trunk/apps/lang/nederlands.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/nederlands.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -10274,17 +10274,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Wiel Licht Vertraging"
- c200,gigabeatf,mrobe100,sa9200: "Knoppen Licht Vertraging"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Knoppen Licht Vertraging"
</dest>
<voice>
*: none
e200*: "Wiel Licht Vertraging"
- c200,gigabeatf,mrobe100,sa9200: "Knoppen Licht Vertraging"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Knoppen Licht Vertraging"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/norsk-nynorsk.lang
===================================================================
--- trunk/apps/lang/norsk-nynorsk.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/norsk-nynorsk.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -9871,17 +9871,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Avbrotstid for hjullys"
- c200,gigabeatf,mrobe100,sa9200: "Avbrotstid for knappelys"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Avbrotstid for knappelys"
</dest>
<voice>
*: none
e200*: "Avbrotstid for hjullys"
- c200,gigabeatf,mrobe100,sa9200: "Avbrotstid for knappelys"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Avbrotstid for knappelys"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/norsk.lang
===================================================================
--- trunk/apps/lang/norsk.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/norsk.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -10023,17 +10023,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Slukketid for hjullys"
- c200,gigabeatf,mrobe100,sa9200: "Slukketid for knapplys"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Slukketid for knapplys"
</dest>
<voice>
*: none
e200*: "Tid før lys på hjul slukker"
- c200,gigabeatf,mrobe100,sa9200: "Tid før lys på knapper slukker"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Tid før lys på knapper slukker"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/polski.lang
===================================================================
--- trunk/apps/lang/polski.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/polski.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3841,17 +3841,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Wygaszanie koła sterującego"
- c200,gigabeatf,mrobe100,sa9200: "Wygaszanie klawiszy"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Wygaszanie klawiszy"
</dest>
<voice>
*: none
e200*: "Wygaszanie koła sterującego"
- c200,gigabeatf,mrobe100,sa9200: "Wygaszanie klawiszy"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Wygaszanie klawiszy"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/portugues-brasileiro.lang
===================================================================
--- trunk/apps/lang/portugues-brasileiro.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/portugues-brasileiro.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3841,17 +3841,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Duração da Luz da Roda"
- c200,gigabeatf,mrobe100,sa9200: "Duração da Luz do Botão"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Duração da Luz do Botão"
</dest>
<voice>
*: none
e200*: "Duração da Luz da Roda"
- c200,gigabeatf,mrobe100,sa9200: "Duração da Luz do Botão"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Duração da Luz do Botão"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/romaneste.lang
===================================================================
--- trunk/apps/lang/romaneste.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/romaneste.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -10303,17 +10303,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Timp iluminare rotita"
- c200,gigabeatf,mrobe100,sa9200: "Timp iluminare butoane"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Timp iluminare butoane"
</dest>
<voice>
*: none
e200*: "Timp iluminare rotita"
- c200,gigabeatf,mrobe100,sa9200: "Timp iluminare butoane"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Timp iluminare butoane"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/russian.lang
===================================================================
--- trunk/apps/lang/russian.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/russian.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -10949,17 +10949,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Таймаут подсветки колёсика"
- c200,gigabeatf,mrobe100,sa9200: "Таймаут подсветки клавиш"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Таймаут подсветки \
клавиш" </dest>
<voice>
*: none
e200*: "Таймаут подсветки колёсика"
- c200,gigabeatf,mrobe100,sa9200: "Таймаут подсветки клавиш"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Таймаут подсветки \
клавиш" </voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/srpski.lang
===================================================================
--- trunk/apps/lang/srpski.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/srpski.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3841,17 +3841,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: ""
+ clip,c200,gigabeatf,mrobe100,sa9200: ""
</dest>
<voice>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: ""
+ clip,c200,gigabeatf,mrobe100,sa9200: ""
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/svenska.lang
===================================================================
--- trunk/apps/lang/svenska.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/svenska.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3835,17 +3835,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Hjulbelysning"
- c200,gigabeatf,mrobe100,sa9200: "Knappbelysning"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Knappbelysning"
</dest>
<voice>
*: none
e200*: "Hjulbelysning"
- c200,gigabeatf,mrobe100,sa9200: "Knappbelysning"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Knappbelysning"
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/tagalog.lang
===================================================================
--- trunk/apps/lang/tagalog.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/tagalog.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3841,17 +3841,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "Pahintuin gulong sa ilaw"
- c200,gigabeatf,mrobe100,sa9200: "Pahintuin buttones sa ilaw"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Pahintuin buttones sa ilaw"
</dest>
<voice>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: ""
+ clip,c200,gigabeatf,mrobe100,sa9200: ""
</voice>
</phrase>
<phrase>
Modified: trunk/apps/lang/thai.lang
===================================================================
--- trunk/apps/lang/thai.lang 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/apps/lang/thai.lang 2008-10-31 22:02:41 UTC (rev 18952)
@@ -3835,17 +3835,17 @@
<source>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
+ clip,c200,gigabeatf,mrobe100,sa9200: "Button Light Timeout"
</source>
<dest>
*: none
e200*: "เวลาเปิดไฟล้อหมุน"
- c200,gigabeatf,mrobe100,sa9200: ""
+ clip,c200,gigabeatf,mrobe100,sa9200: ""
</dest>
<voice>
*: none
e200*: "Wheel Light Timeout"
- c200,gigabeatf,mrobe100,sa9200: ""
+ clip,c200,gigabeatf,mrobe100,sa9200: ""
</voice>
</phrase>
<phrase>
Modified: trunk/firmware/SOURCES
===================================================================
--- trunk/firmware/SOURCES 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/firmware/SOURCES 2008-10-31 22:02:41 UTC (rev 18952)
@@ -1045,6 +1045,7 @@
#ifndef SIMULATOR
target/arm/as3525/sansa-clip/lcd-ssd1303.c
target/arm/as3525/sansa-clip/button-clip.c
+target/arm/as3525/sansa-clip/backlight-clip.c
target/arm/as3525/as3525-codec.c
#endif /* !SIMULATOR */
#endif /* SANSA_CLIP */
Modified: trunk/firmware/export/config-clip.h
===================================================================
--- trunk/firmware/export/config-clip.h 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/firmware/export/config-clip.h 2008-10-31 22:02:41 UTC (rev 18952)
@@ -29,7 +29,7 @@
#define HAVE_LCD_BITMAP
/* define this if you have a light associated with the buttons */
-//#define HAVE_BUTTON_LIGHT
+#define HAVE_BUTTON_LIGHT
/* define this if you have access to the quickscreen */
//#define HAVE_QUICKSCREEN
@@ -47,12 +47,11 @@
#define LCD_PIXELFORMAT VERTICAL_PACKING
/* define this if you have LCD enable function */
-//#define HAVE_LCD_ENABLE
+#define HAVE_LCD_ENABLE
#ifndef BOOTLOADER
-
-/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
- should be defined as well. */
+/* Define this if your LCD can be put to sleep.
+ * HAVE_LCD_ENABLE should be defined as well. */
//#define HAVE_LCD_SLEEP
//#define HAVE_LCD_SLEEP_SETTING
#endif
@@ -91,6 +90,10 @@
//#define CONFIG_TUNER LV24020LP
//#define HAVE_TUNER_PWR_CTRL
+/* Define this for LCD backlight available */
+#define HAVE_BACKLIGHT
+//#define HAVE_BACKLIGHT_BRIGHTNESS /* TODO */
+
/* define this if you have a flash memory storage */
#define HAVE_FLASH_STORAGE
Added: trunk/firmware/target/arm/as3525/sansa-clip/backlight-clip.c
===================================================================
--- trunk/firmware/target/arm/as3525/sansa-clip/backlight-clip.c \
(rev 0)
+++ trunk/firmware/target/arm/as3525/sansa-clip/backlight-clip.c 2008-10-31 22:02:41 \
UTC (rev 18952) @@ -0,0 +1,58 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright 2008 Rafaël Carré
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+#include "backlight-target.h"
+#include "as3525.h"
+
+/* TODO : backlight brightness */
+
+/* XXX : xpd is used for SD/MCI interface
+ * If interrupts are used to access this interface, they should be
+ * disabled in _buttonlight_on/off ()
+ */
+
+void _buttonlight_on(void)
+{
+ int saved_ccu_io;
+
+ saved_ccu_io = CCU_IO; /* save XPD setting */
+
+ CCU_IO &= ~(3<<2); /* setup xpd as GPIO */
+
+ GPIOD_DIR |= (1<<7);
+ GPIOD_PIN(7) = (1<<7); /* set pin d7 high */
+
+ CCU_IO = saved_ccu_io; /* restore the previous XPD setting */
+}
+
+void _buttonlight_off(void)
+{
+ int saved_ccu_io;
+
+ saved_ccu_io = CCU_IO; /* save XPD setting */
+
+ CCU_IO &= ~(3<<2); /* setup xpd as GPIO */
+
+ GPIOD_DIR |= (1<<7);
+ GPIOD_PIN(7) = 0; /* set pin d7 low */
+
+ CCU_IO = saved_ccu_io; /* restore the previous XPD setting */
+}
Modified: trunk/firmware/target/arm/as3525/sansa-clip/backlight-target.h
===================================================================
--- trunk/firmware/target/arm/as3525/sansa-clip/backlight-target.h 2008-10-31 \
21:48:44 UTC (rev 18951)
+++ trunk/firmware/target/arm/as3525/sansa-clip/backlight-target.h 2008-10-31 \
22:02:41 UTC (rev 18952) @@ -7,7 +7,7 @@
* \/ \/ \/ \/ \/
* $Id$
*
- * Copyright (C) 2008 ??
+ * Copyright 2008 Rafaël Carré
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -21,17 +21,23 @@
#ifndef BACKLIGHT_TARGET_H
#define BACKLIGHT_TARGET_H
-static inline bool _backlight_init(void)
-{
- return true;
-}
+#include "stdbool.h"
+#include "lcd.h"
+#include "backlight.h"
+#define _backlight_init() true
+
static inline void _backlight_on(void)
{
+ lcd_enable(true);
}
static inline void _backlight_off(void)
{
+ lcd_enable(false);
}
+void _buttonlight_on(void);
+void _buttonlight_off(void);
+
#endif
Modified: trunk/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
===================================================================
--- trunk/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c 2008-10-31 21:48:44 UTC \
(rev 18951)
+++ trunk/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c 2008-10-31 22:02:41 UTC \
(rev 18952) @@ -149,6 +149,9 @@
void lcd_enable(bool enable)
{
+ if(display_on == enable)
+ return;
+
if( (display_on = enable) ) /* simple '=' is not a typo ! */
lcd_write_command(LCD_SET_DISPLAY_ON);
else
@@ -240,6 +243,9 @@
void lcd_blit_mono(const unsigned char *data, int x, int by, int width,
int bheight, int stride)
{
+ if(!display_on)
+ return;
+
/* Copy display bitmap to hardware */
while (bheight--)
{
@@ -258,6 +264,13 @@
void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases,
int x, int by, int width, int bheight, int stride)
{
+ /* TODO */
+
+#if 0
+ if(!display_on)
+ return;
+#endif
+
(void)values;
(void)phases;
(void)x;
@@ -274,6 +287,9 @@
{
int y;
+ if(!display_on)
+ return;
+
/* Copy display bitmap to hardware */
for (y = 0; y < LCD_FBHEIGHT; y++)
{
@@ -291,6 +307,9 @@
{
int ymax;
+ if(!display_on)
+ return;
+
/* The Y coordinates have to work on even 8 pixel rows */
ymax = (y + height-1) >> 3;
y >>= 3;
Modified: trunk/uisimulator/sdl/uisdl.h
===================================================================
--- trunk/uisimulator/sdl/uisdl.h 2008-10-31 21:48:44 UTC (rev 18951)
+++ trunk/uisimulator/sdl/uisdl.h 2008-10-31 22:02:41 UTC (rev 18952)
@@ -445,9 +445,9 @@
#define UI_LCD_WIDTH 128
#define UI_LCD_HEIGHT 64
#define UI_LCD_BGCOLOR 0, 0, 0 /* bkgnd color of LCD (no backlight) */
-#define UI_LCD_BGCOLORLIGHT 192, 192, 192 /* bkgnd color of LCD (backlight) \
*/
-#define UI_LCD_FGCOLOR 13, 226, 229 /* foreground color of LCD (no \
backlight) */
-#define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) \
*/ +#define UI_LCD_BGCOLORLIGHT 0, 0, 0 /* bkgnd color of LCD (backlight) */
+#define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no \
backlight) */ +#define UI_LCD_FGCOLORLIGHT 13, 226, 229 /* foreground color \
of LCD (backlight) */
#endif
extern SDL_Surface *gui_surface;
_______________________________________________
rockbox-cvs mailing list
rockbox-cvs@cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic