aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/camera.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/extantz/camera.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/extantz/camera.c b/src/extantz/camera.c
index 4bcf64c..123285c 100644
--- a/src/extantz/camera.c
+++ b/src/extantz/camera.c
@@ -92,9 +92,9 @@ static void _on_camera_input_down(void *data, Evas *evas, Evas_Object *obj, void
92 else if (0 == strcmp(ev->key, "Home")) move->x = -2.0; 92 else if (0 == strcmp(ev->key, "Home")) move->x = -2.0;
93 else if (0 == strcmp(ev->key, "End")) move->x = 2.0; 93 else if (0 == strcmp(ev->key, "End")) move->x = 2.0;
94 else if (0 == strcmp(ev->key, "space")) move->jump = 1.0; 94 else if (0 == strcmp(ev->key, "space")) move->jump = 1.0;
95 else printf("Unexpected down keystroke - %s\n", ev->key); 95 else PW("Unexpected down keystroke - %s", ev->key);
96 } 96 }
97 else printf("Camera input not ready\n"); 97 else PE("Camera input not ready");
98} 98}
99 99
100/* SL / OS camera controls 100/* SL / OS camera controls
@@ -184,9 +184,9 @@ static void _on_camera_input_up(void *data, Evas *evas, Evas_Object *obj, void *
184 else if (0 == strcmp(ev->key, "Home")) move->x = 0.0; 184 else if (0 == strcmp(ev->key, "Home")) move->x = 0.0;
185 else if (0 == strcmp(ev->key, "End")) move->x = 0.0; 185 else if (0 == strcmp(ev->key, "End")) move->x = 0.0;
186 else if (0 == strcmp(ev->key, "space")) move->jump = 0.0; 186 else if (0 == strcmp(ev->key, "space")) move->jump = 0.0;
187 else printf("Unexpected up keystroke - %s\n", ev->key); 187 else PW("Unexpected up keystroke - %s", ev->key);
188 } 188 }
189 else printf("Camera input not ready\n"); 189 else PE("Camera input not ready");
190} 190}
191 191
192/* While it's true that image is an Elm image, seems this Elm input event callback doesn't work. 192/* While it's true that image is an Elm image, seems this Elm input event callback doesn't work.
@@ -212,7 +212,7 @@ static Eina_Bool _cb_event_GL(void *data, Evas_Object *obj, Evas_Object *src, Ev
212 } 212 }
213 213
214 default : 214 default :
215 printf("Unknown GL input event.\n"); 215 PE("Unknown GL input event.");
216 } 216 }
217 217
218 return processed; 218 return processed;