Index: prefs.c
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entice/src/bin/prefs.c,v
retrieving revision 1.7
diff -u -3 -r1.7 prefs.c
--- prefs.c	18 Oct 2003 20:38:55 -0000	1.7
+++ prefs.c	23 Oct 2003 16:33:14 -0000
@@ -251,21 +251,45 @@
 static void
 entice_config_generate_original_db(char *filename)
 {
-   int i, count;
+   int i, count_up, count_down;
    char buf[PATH_MAX];
    E_DB_File *db = NULL;
 
-   char *signals[] = { "EnticeZoomIn", "EnticeZoomOut", "EnticeFullScreen",
-      "EnticeImageNext", "EnticeImagePrev", "EnticeZoomDefault",
-      "EnticeZoomFit", "EnticeQuit", "EnticeRotateLeft",
-      "EnticeRotateRight", "EnticeFlipH", "EnticeFlipV"
+   
+   char *signals_up[] = { "EnticeImageZoomIn", "EnticeImageZoomOut", 
+      "EnticeFullScreen","EnticeImageNext", 
+      "EnticeImagePrev", "EnticeImageZoomDefault",
+      "EnticeImageZoomFit", "EnticeQuit", 
+      "EnticeImageRotateLeft","EnticeImageRotateRight", 
+      "EnticeImageFlipHorizontal", "EnticeImageFlipVertical",
+      "EnticeImageScrollStop", "EnticeImageScrollStop",
+      "EnticeImageScrollStop", "EnticeImageScrollStop"
    };
-   char *keys[] =
-      { "equal", "minus", "f", "space", "BackSpace", "n", "w", "q", "Left",
-      "Right", "Up", "Down"
+   char *keys_up[] =
+      { "equal", "minus",
+        "f", "space", 
+	"BackSpace", "n", 
+	"g", "q", 
+	"Left","Right", 
+	"Up", "Down",
+	"d", "a",
+	"w", "s"
    };
-   count = sizeof(signals) / sizeof(char *);
-
+   
+   char *signals_down[] = {
+      "EnticeImageScrollEastStart", "EnticeImageScrollWestStart",
+      "EnticeImageScrollNorthStart", "EnticeImageScrollSouthStart"
+   };
+   
+   char *keys_down[] = 
+      { "d", "a",
+	"w", "s"
+   };
+      
+   
+   count_up = sizeof(signals_up) / sizeof(char *);
+   count_down = sizeof(signals_down) / sizeof(char *);
+   
    if (filename)
    {
       if ((db = e_db_open(filename)))
@@ -273,14 +297,24 @@
          e_db_str_set(db, "/entice/theme", "default.eet");
          e_db_int_set(db, "/entice/engine", 0);
 
-         for (i = 0; i < count; i++)
+         for (i = 0; i < count_up; i++)
          {
             snprintf(buf, PATH_MAX, "/entice/keys/up/%i/symbol", i);
-            e_db_str_set(db, buf, keys[i]);
+            e_db_str_set(db, buf, keys_up[i]);
             snprintf(buf, PATH_MAX, "/entice/keys/up/%i/signal", i);
-            e_db_str_set(db, buf, signals[i]);
+            e_db_str_set(db, buf, signals_up[i]);
+         }
+         e_db_int_set(db, "/entice/keys/up/count", count_up);
+	 
+	 for (i = 0; i < count_down; i++)
+         {
+            snprintf(buf, PATH_MAX, "/entice/keys/down/%i/symbol", i);
+            e_db_str_set(db, buf, keys_down[i]);
+            snprintf(buf, PATH_MAX, "/entice/keys/down/%i/signal", i);
+            e_db_str_set(db, buf, signals_down[i]);
          }
-         e_db_int_set(db, "/entice/keys/up/count", count);
+         e_db_int_set(db, "/entice/keys/down/count", count_down);
+	 
          e_db_int_set(db, "/entice/cache/font", 1);
          e_db_int_set(db, "/entice/cache/image", 8);
 
