firebull2015 / androidscreencast

Automatically exported from code.google.com/p/androidscreencast
0 stars 0 forks source link

Keyboard left arrow is not passed to the emulator/device #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Device name :
emulator
Device rooted (yes/no) :
yes
Device OS version (1.5/1.6/2.0,...) :
1.6

Computer OS and version (Mac,Win,Linux,...) :
Mac OS X 10.6 Snow Leopard
Java version (java -version from command line) :
java version "1.6.0_15"
ADB version (adb -version from command line) :
Android Debug Bridge version 1.0.25
AndroidScreencast version :
0.4
What steps will reproduce the problem?
1. Start the emulator
2. Start AndroidScreencast
3. Press left arrow key on the host keyboard

What is the expected output? What do you see instead?
The key event is ignored. The key is interpreted as an Unknow key event (code = 
0)

Please provide any additional information below.
net.srcz.android.screencast.api.injector.KeyCodeConverter.java misses 
KeyEvent.VK_LEFT 
handling.

Please add

if(e.getKeyCode() == KeyEvent.VK_LEFT)
   code = ConstEvtKey.KEYCODE_DPAD_LEFT;

to getKeyCode method

Original issue reported on code.google.com by ninn...@gmail.com on 24 Feb 2010 at 11:58

GoogleCodeExporter commented 9 years ago
confirmed on Android2.2 LeeDroid1.4a

Original comment by mmservic...@gmail.com on 22 Jul 2010 at 1:09

GoogleCodeExporter commented 9 years ago
confirmed on Android 2.2 aiccucs rom .. HTC Incredible.

Original comment by alexande...@gmail.com on 9 Aug 2010 at 2:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
confirmed on Android 2.1 Apanda A60

Original comment by lionw...@gmail.com on 13 Oct 2010 at 3:40

GoogleCodeExporter commented 9 years ago
confirmed on Android 1.6 & 2.2 Dell Streak

Original comment by kson...@gmail.com on 25 Nov 2010 at 1:31

GoogleCodeExporter commented 9 years ago
confirmed on Android 2.3.5 -- Samsung Galaxy Nexus

Original comment by j...@joe-garcia.com on 30 Jan 2012 at 6:18

GoogleCodeExporter commented 9 years ago
Still doesn't work, also on Android 4.0.3. Will it be fixed soon?

Original comment by arcan...@gmail.com on 20 May 2012 at 2:58

GoogleCodeExporter commented 9 years ago
I'm afraid this project is stale/ inactive since 2010 or something...

You can still try yourself of course. I'd be more than happy to see activity in 
this project.

Original comment by sche...@gmail.com on 20 May 2012 at 3:06