Commit Graph
37 Commits
Author SHA1 Message Date
Henrik Rydgård bf4a5f0352 Detect the Android UIMode, use as device type. For better automatic configuration for things like Android TV. 2015-04-03 11:13:38 +02:00
Henrik Rydgard a506ba2e83 Expose/fake native display refresh rate. Only has a real value on Android. 2015-01-14 00:27:21 +01:00
Henrik Rydgard 9201103abe Get rid of the Java audio path. We now only support Android 2.3+ where it's not needed.
Also, expose the optimal sample rate for the platform so we can show it in the UI.
2015-01-11 11:39:30 +01:00
Henrik Rydgard 4dce24d05c Improve Moga version detection - do it after the connect event. 2015-01-01 13:34:32 +01:00
Henrik Rydgard c958ca6b4c Add version argument to NativeGetAppInfo 2014-12-18 22:50:17 +01:00
beaumanvienna e5682161da merged with upstream / amended SDL2 multi monitor support 2014-10-15 22:35:03 +02:00
beaumanvienna 48856951a7 amendments for: global variable 'fullscreenCLI'/move on top timer/Qt fullscreen code 2014-09-24 23:23:25 +02:00
The Dax 86cd0ccf1a Add a new SYSPROP enum variable. 2014-07-31 01:19:44 -04:00
Henrik Rydgard 6f6f6eb1fb TextEdit: Add utf-8 support, enable paste from clipboard 2014-07-21 11:59:05 +02:00
Henrik Rydgard a4a17415a7 android: Allow querying the real display resolution as detected on start 2014-07-21 00:34:12 +02:00
Henrik Rydgard 2ab2016002 Expose the Android system version to the app. Useful to enable/disable android-only features like immersive mode 2014-07-20 12:04:22 +02:00
Henrik Rydgard 326504baf8 android: Cleanup of dpi/refresh variables 2014-07-18 17:39:32 +02:00
Henrik Rydgard 6739fc5654 Have the input functions return bool, so we can say if we used the key.
Will allow mapping Android volume keys as game inputs without also showing the volume setting.
2014-06-15 12:12:12 +02:00
Unknown W. Brackets 36a9bafcaf Avoid a char * for constant strings. 2014-02-15 01:46:47 -08:00
Henrik Rydgård c960fdb0b2 Add a new "queryConfig" native android function, so that the Java code can check
config options like rotation lock (config is implemented on the C++ side).
2014-02-04 12:07:17 +01:00
Henrik Rydgård 1ef531ec9c Add some infrastructure to handle screen resizes that don't lose the device 2013-12-16 16:19:40 +01:00
Sacha 9e5df6028a Add InputBox as a platform-specific system function instead of a host function. Enable it on all Qt platforms. 2013-12-08 20:15:09 +10:00
Henrik Rydgard 563e005101 Android: Allow sending generic string messages out to Java.
Implement stubs for other platforms.
2013-12-04 17:38:37 +01:00
Henrik Rydgård 9aa30a69f6 Add support for standard Android haptic feedback, which does not require the VIBRATE permission. 2013-10-10 16:00:30 +02:00
The Dax 615e01b2af Add new System Property. 2013-10-09 20:31:29 -04:00
Henrik Rydgard 1790bd8b7e Replace System_GetName with System_GetProperty so we can return more info 2013-09-04 11:28:19 +02:00
Henrik Rydgard 0a857fe4a1 Add a way to get the "System name" (will be mostly useful for android). Tweaks. 2013-08-18 00:14:25 +02:00
Henrik Rydgard 1dec6e8154 Work towards full android joystick support. 2013-07-06 19:08:20 +02:00
Henrik Rydgard 8b75763275 WIP new UI layout system! 2013-05-25 16:57:07 +02:00
Henrik Rydgard a47c3b465e NativeMix now returns int 2013-03-29 18:09:59 +01:00
Sacha 00acbd2f74 Revert some temporary changes for Stage 1 refactor of Qt. 2013-01-16 02:19:22 +10:00
Sacha 063087abba Revert "Merge pull request #29 from Xele02/qtwindow"
This reverts commit 170a45ef4f, reversing
changes made to 657f5d32f4.
2013-01-14 19:10:51 +10:00
Xele02 597be2bb04 Update native for Qt Window
Add mutex lock. Wait cond didn't work without it.
2013-01-13 23:27:49 +01:00
Henrik Rydgard c952c8d0e7 Fix volume buttons on android and add some functonality to the VFS. 2012-12-01 10:35:55 +01:00
Henrik Rydgard 01f2b5ada0 Remove the screenManager global, other assorted cleanup 2012-09-18 09:46:58 +02:00
Henrik Rydgard 9303c13cbe Pass external dir to native apps 2012-08-13 00:41:24 +02:00
Henrik Rydgard 3b3f8242b0 mouse->pointer 2012-07-26 17:24:47 +02:00
Henrik Rydgard 5a6622eb37 Redo the DPI/Density code. It now makes sense. 2012-07-15 17:04:27 +02:00
Henrik Rydgard 1254fe414c Change target to 4.0 (but support 2.2, of course). Fix resulting lint issues. 2012-07-13 00:13:02 +02:00
Henrik Rydgard 45846e4c95 Keyboard support prep 2012-04-16 23:30:13 +02:00
Henrik Rydgard 888b973bf3 Apps can now request portrait mode if desired 2012-04-10 15:44:58 +02:00
Henrik Rydgard fc886b23e6 Move the SDL C++ wrapper code into the native project as well. 2012-04-10 12:01:05 +02:00