treat enter key same as center; improves testing with emulator if

nothing else.
This commit is contained in:
eehouse 2010-03-09 06:28:42 +00:00
parent 04e454f922
commit fd423f7704

View file

@ -413,6 +413,7 @@ public class BoardActivity extends Activity implements UtilCtxt {
XwJNI.XP_Key xpKey = XwJNI.XP_Key.XP_KEY_NONE;
switch( keyCode ) {
case KeyEvent.KEYCODE_DPAD_CENTER:
case KeyEvent.KEYCODE_ENTER:
xpKey = XwJNI.XP_Key.XP_RETURN_KEY;
break;
case KeyEvent.KEYCODE_DPAD_DOWN: