From d200dd83a457fea1d4478c73815b3295da5e70bf Mon Sep 17 00:00:00 2001 From: samuele3hu Date: Wed, 11 Jun 2014 10:15:38 +0800 Subject: [PATCH] Update the KeyCodeTest in the NewEventDispatcherTest --- .../src/NewEventDispatcherTest/NewEventDispatcherTest.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/lua-tests/src/NewEventDispatcherTest/NewEventDispatcherTest.lua b/tests/lua-tests/src/NewEventDispatcherTest/NewEventDispatcherTest.lua index f280aa8036..cfd93216b7 100644 --- a/tests/lua-tests/src/NewEventDispatcherTest/NewEventDispatcherTest.lua +++ b/tests/lua-tests/src/NewEventDispatcherTest/NewEventDispatcherTest.lua @@ -665,14 +665,12 @@ function LabelKeyboardEventTest:onEnter() self:addChild(statusLabel) local function onKeyPressed(keyCode, event) - print("come in keyCode is ",keyCode) local buf = string.format("Key %d was pressed!",keyCode) local label = event:getCurrentTarget() label:setString(buf) end local function onKeyReleased(keyCode, event) - print("come in keyCode is ", keyCode) local buf = string.format("Key %s was released!",keyCode) local label = event:getCurrentTarget() label:setString(buf)