Commit graph

55 commits

Author SHA1 Message Date
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
mittorn
848b1f8ae6 Keyboard and vibration support 2016-05-08 22:57:35 +00:00
mittorn
aba773d1c0 Pixel format selection spinner 2016-05-08 08:57:07 +00:00
mittorn
e365040659 Fix screen orientation 2016-05-08 07:59:53 +00:00
mittorn
2c8b1ee753 Improve EGL restore 2016-05-07 20:14:09 +00:00
mittorn
69b11fcf38 Implement EGL restore 2016-05-06 22:20:34 +00:00
mittorn
5b0ee9679c Fix fullscreen 2016-05-06 16:49:42 +00:00
mittorn
aeee1419a2 Fix and rework launch 2016-05-06 14:58:09 +00:00
mittorn
126433c42c Android 1.5 support 2016-05-06 08:58:01 +00:00
mittorn
11a29ac213 Touch action filter, add keyboard code 2016-05-05 20:01:43 +00:00
mittorn
e33ceda57a Update touch code 2016-05-04 21:34:15 +00:00
mittorn
cd81aa82ea Improve launch, fix touch 2016-05-04 21:02:09 +00:00
mittorn
76cac2a352 Restore build without sdl (only graphics output supported) 2016-05-03 22:24:07 +00:00