From: Son Hyunjun Date: Fri, 16 Mar 2012 13:57:51 +0000 (+0900) Subject: [Title] fix key event typo X-Git-Tag: TizenStudio_2.0_p2.3~1667 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07d0b796834d25241405a481c9815e97e8767558;p=sdk%2Femulator%2Fqemu.git [Title] fix key event typo [Type] Feature [Module] Display/Skin [Priority] Major [CQ#] [Redmine#] [Problem] [Cause] [Solution] Change-Id: I8dd4f797156257426ac6fddf9244d89ea9e70742 --- diff --git a/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java b/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java index a71609f..ef0c6e2 100644 --- a/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java +++ b/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java @@ -713,7 +713,7 @@ public class EmulatorSkin { System.out.println( "key released. key event:" + e ); int keyCode = e.keyCode; - KeyEventData keyEventData = new KeyEventData( KeyEventType.PRESSED.value(), keyCode ); + KeyEventData keyEventData = new KeyEventData( KeyEventType.RELEASED.value(), keyCode ); communicator.sendToQEMU( SendCommand.SEND_KEY_EVENT, keyEventData ); } @@ -721,7 +721,7 @@ public class EmulatorSkin { public void keyPressed( KeyEvent e ) { System.out.println( "key pressed. key event:" + e ); int keyCode = e.keyCode; - KeyEventData keyEventData = new KeyEventData( KeyEventType.RELEASED.value(), keyCode ); + KeyEventData keyEventData = new KeyEventData( KeyEventType.PRESSED.value(), keyCode ); communicator.sendToQEMU( SendCommand.SEND_KEY_EVENT, keyEventData ); }