Fixed backspace?
This commit is contained in:
parent
0bcc0db03f
commit
23f4f980ee
5 changed files with 6 additions and 6 deletions
BIN
assets/shoot.png
BIN
assets/shoot.png
Binary file not shown.
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 85 KiB |
BIN
assets/use.png
BIN
assets/use.png
Binary file not shown.
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 99 KiB |
|
@ -1 +1 @@
|
|||
Subproject commit e3d4a112afeb0e11a8ac85a55d39067e77f42ef0
|
||||
Subproject commit 8e493fcd57ae8f2ab183a5e1d69580f0aa679740
|
|
@ -1 +1 @@
|
|||
Subproject commit 2e584501093a9ef1d51d469e21f2444b104592a6
|
||||
Subproject commit 222d4845a6b0cf8926775bcf3c207ef0d31eb53b
|
|
@ -1330,7 +1330,7 @@ class DummyEdit extends View implements View.OnKeyListener {
|
|||
public boolean onKey(View v, int keyCode, KeyEvent event) {
|
||||
|
||||
// This handles the hardware keyboard input
|
||||
if (event.isPrintingKey()) {
|
||||
if (event.isPrintingKey()|| keyCode == 62) {
|
||||
if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
||||
ic.commitText(String.valueOf((char) event.getUnicodeChar()), 1);
|
||||
}
|
||||
|
@ -1392,7 +1392,7 @@ class SDLInputConnection extends BaseInputConnection {
|
|||
*/
|
||||
int keyCode = event.getKeyCode();
|
||||
if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
||||
if (event.isPrintingKey()) {
|
||||
if (event.isPrintingKey()|| keyCode == 62) {
|
||||
commitText(String.valueOf((char) event.getUnicodeChar()), 1);
|
||||
}
|
||||
SDLActivity.onNativeKeyDown(keyCode);
|
||||
|
|
Loading…
Add table
Reference in a new issue