This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9617 - Keymaps for Plugins fuze
Attached to Project:
Rockbox
Opened by Frederick Full (fredddy) - Tuesday, 09 December 2008, 18:10 GMT+2
Last edited by MichaelGiacomelli (saratoga) - Thursday, 08 January 2009, 21:34 GMT+2
Opened by Frederick Full (fredddy) - Tuesday, 09 December 2008, 18:10 GMT+2
Last edited by MichaelGiacomelli (saratoga) - Thursday, 08 January 2009, 21:34 GMT+2
|
DetailsWell the plugins compile for me in the Simulator.
Hope this helps |
This task depends upon
Closed by MichaelGiacomelli (saratoga)
Thursday, 08 January 2009, 21:34 GMT+2
Reason for closing: Accepted
Thursday, 08 January 2009, 21:34 GMT+2
Reason for closing: Accepted
i noticed that some keymaps are the same than C200, any reason you wouldn't rather use the e200 (which has a scrollwheel like the fuze, unlike the C200)?
i noticed also some lines like:
+#if CONFIG_KEYPAD != SANSA_E200_PAD | SANSA_FUZE_PAD
I'm not sure if simple '|' has a meaning for C preprocessor
It rather should be like:
+#if CONFIG_KEYPAD != SANSA_E200_PAD && CONFIG_KEYPAD != SANSA_FUZE_PAD
#if (CONFIG_KEYPAD != SANSA_E200_PAD) || (CONFIG_KEYPAD !=SANSA_FUZE_PAD)
I think it should work like this. In your way both SANSA_FUZE_PAD and SANSA_E200_PAD need to be false? but if one of them is true it would still compile without that code.
Your if is always true:
if CONFIG_KEYPAD == SANSA_E200_PAD the first part is false, but the 2nd is true (SANSA_E200_PAD != SANSA_FUZE_PAD) and so the whole if is true.
Hier is the new patch.
Did you try all the plugins by the way ? Some can look bad if they use bitmaps (I dont know if another target exists with the same screen size)
If some bitmaps need to be procuced, this can be done later and this patch should be committed what ever (bug someone to commit it).
thanks you !
I didn`t try all plugins on real hardware but I´ll do that now.
Build Errors:
- No keymap for mandelbrot plugin (Typo: rename dupe'd E200 keymap chunk to FUZE)
Keymap Errors:
- Bubbles keymap is wrong (missed a chunk to update)
Corrected patch attached.
I added some FIXMEs here and there, which I think should be fixed in other patches, and I have plans to do it myself soon, but I won't stop anyone else from beating me.