FS#9535 - Sansa Fuze sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19086 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ce505b8a01
commit
0d812dd235
33 changed files with 141 additions and 88 deletions
|
@ -212,4 +212,6 @@ keymaps/keymap-hdd1630.c
|
|||
keymaps/keymap-iaudio67.c
|
||||
#elif CONFIG_KEYPAD == LOGIK_DAX_PAD
|
||||
keymaps/keymap-logikdax.c
|
||||
#elif CONFIG_KEYPAD == SANSA_FUZE_PAD
|
||||
keymaps/keymap-fuze.c
|
||||
#endif
|
||||
|
|
|
@ -10221,17 +10221,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Изключване на осветяването на бутоните"
|
||||
e200*: "Изключване на осветяването на колелото"
|
||||
fuze,e200*: "Изключване на осветяването на колелото"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: ""
|
||||
e200*: ""
|
||||
fuze,e200*: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3828,17 +3828,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Apagat de llum de botons"
|
||||
e200*: "Apagat de llum de roda"
|
||||
fuze,e200*: "Apagat de llum de roda"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Apagat de llum de botons"
|
||||
e200*: "Apagat de llum de roda"
|
||||
fuze,e200*: "Apagat de llum de roda"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -10687,17 +10687,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "按键背光自动关闭时滞"
|
||||
e200*: "转盘背光自动关闭时滞"
|
||||
fuze,e200*: "转盘背光自动关闭时滞"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "按键背光自动关闭时滞"
|
||||
e200*: "转盘背光自动关闭时滞"
|
||||
fuze,e200*: "转盘背光自动关闭时滞"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -10704,15 +10704,15 @@
|
|||
user:
|
||||
<source>
|
||||
*: none
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
e200*: "轉盤燈自動關時間"
|
||||
fuze,e200*: "轉盤燈自動關時間"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3835,15 +3835,15 @@
|
|||
user:
|
||||
<source>
|
||||
*: none
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
e200*: "Časový limit osvětlení kolečka"
|
||||
fuze,e200*: "Časový limit osvětlení kolečka"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
e200*: "Časový limit osvětlení kolečka"
|
||||
fuze,e200*: "Časový limit osvětlení kolečka"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -9933,17 +9933,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Knap-lys sluk"
|
||||
e200*: "Hjul-lys sluk"
|
||||
fuze,e200*: "Hjul-lys sluk"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Knap-lys sluk"
|
||||
e200*: "Hjul-lys sluk"
|
||||
fuze,e200*: "Hjul-lys sluk"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3850,17 +3850,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Tastenbeleuchtungsdauer"
|
||||
e200*: "Scrollradbeleuchtungsdauer"
|
||||
fuze,e200*: "Scrollradbeleuchtungsdauer"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Tastenbeleuchtungsdauer"
|
||||
e200*: "Scrollradbeleuchtungsdauer"
|
||||
fuze,e200*: "Scrollradbeleuchtungsdauer"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3924,17 +3924,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -11181,17 +11181,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Tiempo de espera en la luz del botón"
|
||||
e200*: "Tiempo de espera en la luz de la rueda"
|
||||
fuze,e200*: "Tiempo de espera en la luz de la rueda"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Tiempo de espera en la luz del botón"
|
||||
e200*: "Tiempo de espera en la luz de la rueda"
|
||||
fuze,e200*: "Tiempo de espera en la luz de la rueda"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -9974,17 +9974,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Painikevalon aikakatkaisu"
|
||||
e200*: "Rullavalon aikakatkaisu"
|
||||
fuze,e200*: "Rullavalon aikakatkaisu"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Painikevalon aikakatkaisu"
|
||||
e200*: "Rullavalon aikakatkaisu"
|
||||
fuze,e200*: "Rullavalon aikakatkaisu"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3880,17 +3880,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Durée de l'éclairage des touches"
|
||||
e200*: "Durée de l'éclairage de la molette"
|
||||
fuze,e200*: "Durée de l'éclairage de la molette"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Durée de l'éclairage des touches"
|
||||
e200*: "Durée de l'éclairage de la molette"
|
||||
fuze,e200*: "Durée de l'éclairage de la molette"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3838,17 +3838,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Χρόνος σβησίματος πλήκτρων"
|
||||
e200*: "Χρόνος σβησίματος τροχού"
|
||||
fuze,e200*: "Χρόνος σβησίματος τροχού"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Χρόνος σβησίματος πλήκτρων"
|
||||
e200*: "Χρόνος σβησίματος τροχού"
|
||||
fuze,e200*: "Χρόνος σβησίματος τροχού"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3832,17 +3832,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "זמן תאורת כפתור"
|
||||
e200*: "זמן תאורת הגלגל"
|
||||
fuze,e200*: "זמן תאורת הגלגל"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3853,17 +3853,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Tempo di spegnimento illuminazione tasti"
|
||||
e200*: "Tempo di spegnimento illuminazione rotella"
|
||||
fuze,e200*: "Tempo di spegnimento illuminazione rotella"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Tempo di spegnimento illuminazione tasti"
|
||||
e200*: "Tempo di spegnimento illuminazione rotella"
|
||||
fuze,e200*: "Tempo di spegnimento illuminazione rotella"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3834,17 +3834,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "ボタンライトのタイムアウト"
|
||||
e200*: "ホイールライトのタイムアウト"
|
||||
fuze,e200*: "ホイールライトのタイムアウト"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "ボタンライトのタイムアウト"
|
||||
e200*: "ホイールライトのタイムアウト"
|
||||
fuze,e200*: "ホイールライトのタイムアウト"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3826,18 +3826,18 @@
|
|||
user:
|
||||
<source>
|
||||
*: none
|
||||
e200*: "Wheel Light Timeout"
|
||||
clip,c200,gigabeatf,mrobe100: "Button Light Timeout"
|
||||
button_light: "Button Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
e200*: "Kerék világításának hossza"
|
||||
clip,c200,gigabeatf,mrobe100: "Gomb világításának hossza"
|
||||
button_light: "Gomb világításának hossza"
|
||||
fuze,e200*: "Kerék világításának hossza"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
e200*: "Wheel Light Timeout"
|
||||
clip,c200,gigabeatf,mrobe100: "Button Light Timeout"
|
||||
button_light: "Button Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -10276,17 +10276,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Knoppen Licht Vertraging"
|
||||
e200*: "Wiel Licht Vertraging"
|
||||
fuze,e200*: "Wiel Licht Vertraging"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Knoppen Licht Vertraging"
|
||||
e200*: "Wiel Licht Vertraging"
|
||||
fuze,e200*: "Wiel Licht Vertraging"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -9871,17 +9871,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Avbrotstid for knappelys"
|
||||
e200*: "Avbrotstid for hjullys"
|
||||
fuze,e200*: "Avbrotstid for hjullys"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Avbrotstid for knappelys"
|
||||
e200*: "Avbrotstid for hjullys"
|
||||
fuze,e200*: "Avbrotstid for hjullys"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -10023,17 +10023,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Slukketid for knapplys"
|
||||
e200*: "Slukketid for hjullys"
|
||||
fuze,e200*: "Slukketid for hjullys"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Tid før lys på knapper slukker"
|
||||
e200*: "Tid før lys på hjul slukker"
|
||||
fuze,e200*: "Tid før lys på hjul slukker"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3841,17 +3841,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Wygaszanie klawiszy"
|
||||
e200*: "Wygaszanie koła sterującego"
|
||||
fuze,e200*: "Wygaszanie koła sterującego"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Wygaszanie klawiszy"
|
||||
e200*: "Wygaszanie koła sterującego"
|
||||
fuze,e200*: "Wygaszanie koła sterującego"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3851,17 +3851,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Duração da Luz do Botão"
|
||||
e200*: "Duração da Luz da Roda"
|
||||
fuze,e200*: "Duração da Luz da Roda"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Duração da Luz do Botão"
|
||||
e200*: "Duração da Luz da Roda"
|
||||
fuze,e200*: "Duração da Luz da Roda"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -10303,17 +10303,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Timp iluminare butoane"
|
||||
e200*: "Timp iluminare rotita"
|
||||
fuze,e200*: "Timp iluminare rotita"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Timp iluminare butoane"
|
||||
e200*: "Timp iluminare rotita"
|
||||
fuze,e200*: "Timp iluminare rotita"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -10945,17 +10945,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Таймаут подсветки клавиш"
|
||||
e200*: "Таймаут подсветки колёсика"
|
||||
fuze,e200*: "Таймаут подсветки колёсика"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Таймаут подсветки клавиш"
|
||||
e200*: "Таймаут подсветки колёсика"
|
||||
fuze,e200*: "Таймаут подсветки колёсика"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3852,17 +3852,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Knappbelysning"
|
||||
e200*: "Hjulbelysning"
|
||||
fuze,e200*: "Hjulbelysning"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: "Knappbelysning"
|
||||
e200*: "Hjulbelysning"
|
||||
fuze,e200*: "Hjulbelysning"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3841,17 +3841,17 @@
|
|||
<source>
|
||||
*: none
|
||||
button_light: "Button Light Timeout"
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
button_light: "Pahintuin buttones sa ilaw"
|
||||
e200*: "Pahintuin gulong sa ilaw"
|
||||
fuze,e200*: "Pahintuin gulong sa ilaw"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
button_light: ""
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -3834,15 +3834,15 @@
|
|||
user:
|
||||
<source>
|
||||
*: none
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
e200*: "เวลาเปิดไฟล้อหมุน"
|
||||
fuze,e200*: "เวลาเปิดไฟล้อหมุน"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
e200*: "Wheel Light Timeout"
|
||||
fuze,e200*: "Wheel Light Timeout"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -26,7 +26,8 @@ void _backlight_on(void);
|
|||
void _backlight_off(void);
|
||||
void _backlight_set_brightness(int brightness);
|
||||
int __backlight_is_on(void);
|
||||
|
||||
#ifdef HAVE_BUTTON_LIGHT
|
||||
void _buttonlight_on(void);
|
||||
void _buttonlight_off(void);
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -37,12 +37,12 @@ void button_int(void);
|
|||
|
||||
/* Sandisk Sansa Fuze button codes */
|
||||
|
||||
/* TODO: These are just a copy of the E200 */
|
||||
|
||||
/* Main unit's buttons */
|
||||
#define BUTTON_REC 0x00000001
|
||||
#define BUTTON_HOME 0x00000001
|
||||
|
||||
#define BUTTON_DOWN 0x00000002
|
||||
#define BUTTON_RIGHT 0x00000004
|
||||
|
||||
#define BUTTON_LEFT 0x00000008
|
||||
#define BUTTON_SELECT 0x00000010
|
||||
#define BUTTON_UP 0x00000020
|
||||
|
@ -51,7 +51,11 @@ void button_int(void);
|
|||
#define BUTTON_SCROLL_BACK 0x00000080
|
||||
#define BUTTON_SCROLL_FWD 0x00000100
|
||||
|
||||
#define BUTTON_MAIN 0x00000fff
|
||||
#define BUTTON_HOLD 0x00000200
|
||||
|
||||
#define BUTTON_MAIN (BUTTON_HOME|BUTTON_DOWN|BUTTON_RIGHT|BUTTON_LEFT \
|
||||
|BUTTON_SELECT|BUTTON_UP|BUTTON_POWER \
|
||||
|BUTTON_SCROLLBACK|BUTTON_SCROLL_FWD|BUTTON_HOLD)
|
||||
|
||||
/* No Remote control */
|
||||
#define BUTTON_REMOTE 0
|
||||
|
|
2
tools/configure
vendored
2
tools/configure
vendored
|
@ -1751,7 +1751,7 @@ fi
|
|||
output="rockbox.sansa"
|
||||
bootoutput="bootloader-fuze.sansa"
|
||||
appextra="recorder:gui"
|
||||
plugins="yes"
|
||||
plugins=""
|
||||
swcodec="yes"
|
||||
toolset=$scramblebitmaptools
|
||||
t_cpu="arm"
|
||||
|
|
BIN
uisimulator/sdl/UI-fuze.bmp
Normal file
BIN
uisimulator/sdl/UI-fuze.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 489 KiB |
|
@ -950,7 +950,43 @@ void button_event(int key, bool pressed)
|
|||
case SDLK_SPACE:
|
||||
new_btn = BUTTON_SELECT;
|
||||
break;
|
||||
|
||||
#elif CONFIG_KEYPAD == SANSA_FUZE_PAD
|
||||
case SDLK_KP4:
|
||||
case SDLK_LEFT:
|
||||
new_btn = BUTTON_LEFT;
|
||||
break;
|
||||
case SDLK_KP6:
|
||||
case SDLK_RIGHT:
|
||||
new_btn = BUTTON_RIGHT;
|
||||
break;
|
||||
case SDLK_KP8:
|
||||
case SDLK_UP:
|
||||
new_btn = BUTTON_SCROLL_BACK;
|
||||
break;
|
||||
case SDLK_KP2:
|
||||
case SDLK_DOWN:
|
||||
new_btn = BUTTON_SCROLL_FWD;
|
||||
break;
|
||||
case SDLK_PAGEUP:
|
||||
case SDLK_KP9:
|
||||
new_btn = BUTTON_UP;
|
||||
break;
|
||||
case SDLK_PAGEDOWN:
|
||||
case SDLK_KP3:
|
||||
new_btn = BUTTON_DOWN;
|
||||
break;
|
||||
case SDLK_KP_MINUS:
|
||||
new_btn = BUTTON_POWER;
|
||||
break;
|
||||
case SDLK_KP_MULTIPLY:
|
||||
new_btn = BUTTON_HOME;
|
||||
break;
|
||||
case SDLK_KP5:
|
||||
case SDLK_SPACE:
|
||||
case SDLK_KP_ENTER:
|
||||
case SDLK_RETURN:
|
||||
new_btn = BUTTON_SELECT;
|
||||
break;
|
||||
#elif CONFIG_KEYPAD == SANSA_CLIP_PAD
|
||||
case SDLK_KP4:
|
||||
case SDLK_LEFT:
|
||||
|
|
|
@ -436,6 +436,16 @@
|
|||
#define UI_LCD_FGCOLOR 0, 0, 0 /* foreground color of LCD (no backlight) */
|
||||
#define UI_LCD_FGCOLORLIGHT 0, 0, 0 /* foreground color of LCD (backlight) */
|
||||
|
||||
#elif defined(SANSA_FUZE)
|
||||
#define UI_TITLE "Sansa Fuze"
|
||||
#define UI_WIDTH 279 /* width of GUI window */
|
||||
#define UI_HEIGHT 449 /* height of GUI window */
|
||||
/* high-colour */
|
||||
#define UI_LCD_POSX 30 /* x position of lcd */
|
||||
#define UI_LCD_POSY 31 /* y position of lcd */
|
||||
#define UI_LCD_WIDTH LCD_WIDTH
|
||||
#define UI_LCD_HEIGHT LCD_HEIGHT
|
||||
|
||||
#elif defined(SANSA_CLIP)
|
||||
#define UI_TITLE "Sansa Clip"
|
||||
#define UI_WIDTH 205 /* width of GUI window */
|
||||
|
|
Loading…
Reference in a new issue