Support and General Use > Hardware

[solved] Cowon D2 with dead touchscreen: how to set time and date?

(1/1)

orgone:
is it able to set time and date on cowon d2 with no touchscreen available?
am I right that the source code modifying is the only way?
Post Merge: March 12, 2012, 11:50:35 AMsource modifying is found to be not hard in this case :)


--- Code: ---$ git diff screens.c
diff --git a/apps/screens.c b/apps/screens.c
index 866ec58..f25010e 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -559,8 +559,10 @@ bool set_time_screen(const char* title, struct tm *tm)
                 break;
 
             case ACTION_STD_CANCEL:
-                done = true;
-                tm->tm_year = -1;
+                cursorpos = clamp_value_wrap(++cursorpos, 5, 0);
+                say_time(cursorpos, tm);
+                // done = true;
+                // tm->tm_year = -1;
                 break;
 
             default:

--- End code ---

Navigation

[0] Message Index

Go to full version