commit b777d827fe9902b84e903155bc1a336a31ecd026 Author: Bertrik Sikken Date: Tue Nov 1 20:46:57 2011 +0100 Sansa clip zip: plugins WIP diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 387f145..904eaca 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -10,7 +10,7 @@ lrcplayer.c mosaique.c properties.c random_folder_advance_config.c -rockblox.c +//rockblox.c search.c settings_dumper.c snow.c @@ -45,7 +45,7 @@ lamp.c #if CONFIG_CODEC == SWCODEC #if defined(HAVE_RECORDING) && (defined(HAVE_LINE_IN) || defined(HAVE_MIC_IN)) -pitch_detector.c +//pitch_detector.c #endif mp3_encoder.c @@ -148,7 +148,7 @@ boomshine.lua #endif rockblox1d.c -brickmania.c +//brickmania.c calendar.c maze.c mazezam.c @@ -158,27 +158,27 @@ robotfindskitten.c xobox.c spacerocks.c -blackjack.c -bounce.c -bubbles.c +//blackjack.c +//bounce.c +//bubbles.c calculator.c chip8.c chopper.c demystify.c -jewels.c +//jewels.c minesweeper.c oscilloscope.c -pegbox.c +//pegbox.c pong.c sliding_puzzle.c snake.c snake2.c -solitaire.c +//solitaire.c sokoban.c -star.c +//star.c starfield.c vu_meter.c -wormlet.c +//wormlet.c /* Plugins needing the grayscale lib on low-depth LCDs */ fire.c @@ -194,7 +194,7 @@ fireworks.c #endif #if LCD_DEPTH >= 16 -rockpaint.c +//rockpaint.c #endif rocklife.c @@ -210,7 +210,7 @@ nim.c #if LCD_DEPTH > 1 /* non-mono bitmap targets */ -matrix.c +//matrix.c #if (LCD_WIDTH > 138) invadrox.c diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS index c497c49..f8c9928 100644 --- a/apps/plugins/SUBDIRS +++ b/apps/plugins/SUBDIRS @@ -5,7 +5,7 @@ text_viewer /* For various targets... */ #if CONFIG_RTC -clock +//clock #endif @@ -32,7 +32,7 @@ fft chessbox fractals imageviewer -sudoku +//sudoku reversi goban diff --git a/apps/plugins/lamp.c b/apps/plugins/lamp.c index f95516e..7389811 100644 --- a/apps/plugins/lamp.c +++ b/apps/plugins/lamp.c @@ -140,6 +140,12 @@ # define LAMP_UP BUTTON_UP # define LAMP_DOWN BUTTON_DOWN +#elif CONFIG_KEYPAD == SANSA_CLIP_PAD +# define LAMP_LEFT BUTTON_LEFT +# define LAMP_RIGHT BUTTON_RIGHT +# define LAMP_UP BUTTON_UP +# define LAMP_DOWN BUTTON_DOWN + #else # error Missing key definitions for this keypad #endif diff --git a/tools/configure b/tools/configure index 5b84f87..c3608b7 100755 --- a/tools/configure +++ b/tools/configure @@ -2541,7 +2541,7 @@ fi output="rockbox.sansa" bootoutput="bootloader-clipzip.sansa" appextra="recorder:gui:radio" - plugins="" + plugins="yes" swcodec="yes" toolset=$scramblebitmaptools t_cpu="arm"