alierqul / beginning-android-games

Automatically exported from code.google.com/p/beginning-android-games
0 stars 0 forks source link

[Chapter 5] KeyboardHandler onKey() Function excludes keyCode 0 and 127 #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the framework implementation in Ch 5 code, in KeyboardHandler.java the 
onKey() function the two if statements which read 
'if(keyCode > 0 && keyCode < 127)' exclude the values 0 and 127 which I 
understand to be acceptable values the statement should be
'if(keyCode >= 0 && keyCode < 128)'

Original issue reported on code.google.com by michaelw...@gmail.com on 10 May 2011 at 3:08

GoogleCodeExporter commented 8 years ago

Original comment by badlogicgames on 24 Aug 2011 at 4:00

GoogleCodeExporter commented 8 years ago
Thanks, fixed in revision two.

Original comment by badlogicgames on 6 Sep 2011 at 1:29