mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 09:56:22 +01:00
Fixed backspace?
This commit is contained in:
parent
0bcc0db03f
commit
23f4f980ee
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
|
@ -152,8 +152,8 @@ public class SDLActivity extends Activity {
|
||||
Log.v("SDL", "Model: " + android.os.Build.MODEL);
|
||||
Log.v("SDL", "onCreate():" + mSingleton);
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
// fullscreen
|
||||
|
||||
// fullscreen
|
||||
requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
|
||||
WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
||||
@ -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…
Reference in New Issue
Block a user