Commit graph

67 commits

Author SHA1 Message Date
Alibek Omarov (a1batross)
dcd92e8a57 Port fix for batch text removing from SDL2, fix twice text input on some T9/Swype-like keyboards 2017-09-28 21:57:40 +03:00
Alibek Omarov (a1batross)
d23797a244 Reformat XashActivity.java 2017-09-28 20:54:10 +03:00
mittorn
00ff0ced07 Implement screen resolution changing 2017-09-24 06:26:51 +07:00
mittorn
06359502e1 Add wait timeouts 2017-07-22 13:49:07 +07:00
mittorn
426b088e16 Remove unuseful control key hack
It breaks ctrl-space on android 7+ and crashes on 2.3-
2017-06-22 02:20:33 +06:00
mittorn
6f5e809507 GDBSafe mode that disables some dangerous operations 2017-04-25 23:52:09 +00:00
mittorn
7c44e6451a Disable MouseMove debug message 2017-04-25 21:55:30 +00:00
mittorn
27ca283446 Fix false-detecting mouse 2017-04-05 22:03:19 +00:00
Alibek Omarov (a1batross)
3b6365a048 Remove OPEN_DOCUMENT_TREE request, because it's still does not gives permission to use fopen() call. So, forbid unwritable SD cards at all. 2017-04-01 00:52:13 +03:00
mittorn
17ce269513 Restore pointer action checks 2017-03-31 18:34:08 +00:00
mittorn
8fcb6ca128 Fix compatibility again 2017-03-30 23:32:27 +00:00
mittorn
236586eed5 Fix build 2017-03-30 21:39:08 +00:00
mittorn
f51e6ab1e2 Proper mouse handling on nvidia devices 2017-03-30 19:58:11 +00:00
mittorn
fbcf7758bf Mouse support (nvidia extension) 2017-03-30 00:25:51 +00:00
mittorn
a4745e06fc Android id support 2017-03-28 23:32:39 +00:00
mittorn
b3777bd7c0 Fix compatibility problems, add setTitle, setIcon 2017-03-26 22:11:27 +00:00
mittorn
5368a7f56b Xash3D background service (prevend unload) 2017-03-24 22:03:00 +00:00
Alibek Omarov (a1batross)
ea60581142 Try to implement write permission checking and requesting permissions on newer Android devices 2017-03-07 00:00:32 +03:00
Alibek Omarov (a1batross)
139972e5c8 Try to check write permissions before engine launch 2017-03-06 00:01:39 +03:00
Alibek Omarov (a1batross)
b028a18d16 Remove jnisetenv library, restore old engine initialization. New library: gpgs_support, which initialized Google Play Games in Google Play builds. (In opensource builds does nothing) 2017-03-04 17:13:47 +03:00
Alibek Omarov (a1batross)
e2faa06de2 Finally implement all onPause, onStop and onDestroy, move JoystickHandler to JoystickHandler.java 2017-03-04 16:02:54 +03:00
Alibek Omarov (a1batross)
3b5e5462b4 XashActivity: Better use onPause for saving configs only, as this method is unkillable. onStop will just stop engine. 2017-03-04 00:56:51 +03:00
Alibek Omarov (a1batross)
323e314714 XashActivity: implement proper engine thread quit 2017-03-04 00:21:29 +03:00
Alibek Omarov (a1batross)
7867a53895 XashActivity: fix initialization 2017-03-03 00:00:04 +03:00
Alibek Omarov (a1batross)
66eacf4839 Move setenv from engine to split library to allow lazy engine library loading 2017-03-02 22:29:30 +03:00
Alibek Omarov (a1batross)
af63c6fd5b XashActivity: fix return value 2017-03-02 21:37:32 +03:00
Alibek Omarov (a1batross)
4bfd57037b XashActivity: move loadLibrary call after setting up all envvars. 2017-03-02 21:33:27 +03:00
a1batross
dd1607f261 Fix crash if MotionEvent.getDevice() will return NULL in joystick backend. Add a checks to InitGL, just in case 2016-12-07 00:25:09 +03:00
a1batross
e917d13ce3 Add XashConfig(look TODO), replace checks in XashActivity 2016-09-06 20:42:07 +03:00
a1batross
6f16759f6c Fix ignored gamepad button when event is not have gamepad or joystick source. 2016-09-06 20:14:11 +03:00
mittorn
a5a6dfb0df Fix enter key in some keyboards 2016-08-13 20:31:00 +00:00
a1batross
016be4ab0f Resigning our public release isn't good ;) 2016-08-13 00:12:19 +06:00
mittorn
ebba9effb7 Refactor key events, send lost dpad events as keyboard 2016-08-12 14:30:42 +00:00
mittorn
12e6b7a9ab Merge branch 'master' of https://github.com/SDLash3D/xash3d-android-project 2016-08-12 13:16:55 +00:00
a1batross
6a3541f6d9 Invert look axes 2016-08-11 23:34:40 +06:00
mittorn
d35d54afa4 Fix keyboard/resize in immersive mode 2016-08-09 10:50:52 +00:00
mittorn
f44451e0f1 Fix compatibility 2016-08-05 17:43:46 +00:00
a1batross
ce2e4767ad Swap yaw and pitch axes again 2016-08-05 19:31:42 +06:00
a1batross
8133cd9d01 Implement Immediate Mode(sticky) on 4.4 or higher 2016-08-05 19:17:12 +06:00
mittorn
063dc599b9 Fallback to key event on gamepads 2016-08-01 19:11:37 +00:00
mittorn
0a35d46131 Forgot initialize handler 2016-08-01 16:08:41 +00:00
mittorn
ad5147a53f Joystick compatibility mode 2016-08-01 11:27:51 +00:00
a1batross
d2b0860577 Swap pitch and yaw in joystick constants 2016-07-31 21:06:41 +06:00
a1batross
0af71adf39 Fix build, fix awful merge, add joystick backend 2016-07-28 00:12:01 +06:00
a1batross
4697cda8b0 Android joystick backend 2016-07-26 22:39:54 +06:00
mittorn
d19f81fef1 Add switch for resize on keyboard 2016-07-02 22:31:25 +00:00
mittorn
c52453ea1a Volume buttons 2016-05-31 09:03:38 +00:00
mittorn
7bcaa0db87 Disable EGL initialization, called from native now 2016-05-12 22:42:15 +00:00
mittorn
0735d551ff Implement messagebox and enable resize 2016-05-09 15:05:28 +00:00
mittorn
57f3f03236 Refactor code 2016-05-09 14:03:50 +00:00