aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src/LuaSL_test.c')
-rw-r--r--LuaSL/src/LuaSL_test.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/LuaSL/src/LuaSL_test.c b/LuaSL/src/LuaSL_test.c
index ec76a32..463ae3b 100644
--- a/LuaSL/src/LuaSL_test.c
+++ b/LuaSL/src/LuaSL_test.c
@@ -112,19 +112,17 @@ static Eina_Bool _timer_cb(void *data)
112 { 112 {
113 case 5 : 113 case 5 :
114 { 114 {
115 // TODO - do it as one line, coz sendToChannel() locks up if I do them one at a time too quickly. 115 sendForth(game, me->SID, "events.detectedKeys({\"%s\"})", ownerKey);
116 sendForth(game, me->SID, "events.detectedKeys({\"%s\"}); events.detectedNames({\"%s\"}); events.touch_start(1)", ownerKey, ownerName); 116 sendForth(game, me->SID, "events.detectedNames({\"%s\"})", ownerName);
117// sendForth(game, me->SID, "events.detectedKeys({\"%s\"})", ownerKey); 117 sendForth(game, me->SID, "events.touch_start(1)");
118// sendForth(game, me->SID, "events.detectedNames({\"%s\"})", ownerName);
119// sendForth(game, me->SID, "events.touch_start(1)");
120 break; 118 break;
121 } 119 }
122 case 9+3 : 120 case 9 :
123 { 121 {
124 sendForth(game, me->SID, "quit()"); 122 sendForth(game, me->SID, "quit()");
125 break; 123 break;
126 } 124 }
127 case 11+3 : 125 case 11 :
128 { 126 {
129 exit = TRUE; 127 exit = TRUE;
130 break; 128 break;