mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
Fixed backspace?
This commit is contained in:
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 |
Submodule jni/src/Xash3D/xash3d updated: e3d4a112af...8e493fcd57
Submodule jni/src/XashXT/XashXT updated: 2e58450109...222d4845a6
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user