Commit Graph

86 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
1b5bf730ca Same as the last one for BlackBerry and Qt 2015-01-11 14:17:23 +01:00
Gabriel
9eceb70492 Pass -D SDL when SDL is used 2014-12-19 00:03:46 +01:00
beaumanvienna
48856951a7 amendments for: global variable 'fullscreenCLI'/move on top timer/Qt fullscreen code 2014-09-24 23:23:25 +02:00
beaumanvienna
e11f403a8e dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:30:50 +02:00
beaumanvienna
3a918141ef dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:29:02 +02:00
beaumanvienna
66c585e931 dual head support (SDL_VIDEO_FULLSCREEN_HEAD) for Qt and SDL2 2014-09-22 20:08:02 +02:00
Sacha
14d2fa9a39 Drop the thread from Qt audio loop. Makes exit cleaner.
Probably needs to be reworked or replaced with SDL it seems.
2014-08-21 03:46:00 +10:00
Sacha
8b634fade4 Qt: Terminate the thread instead of quitting. Stops an annoying popup on OSX and should speed up exit on systems that didn't like the thread still running. 2014-07-26 01:35:49 +10:00
Sacha
f339bda6e2 SystemInfo is never installed by default, so make it optional. 2014-07-25 14:41:23 +10:00
Sacha
8c1a48b90c Qt: Inhibit screensaver for all platforms using Qt5. 2014-07-22 16:03:42 +10: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
Sacha
2481cfed5b Add Symbian 'RunFast' path to math_util with the rest. Enable FZ for all Qt ARM devices (I think Qt enables it by default but lets do it just in case). Enable FZ for armv6 devices too (they only require VFPv2). Add comments for why we don't use it on Blackberry. 2014-07-16 23:51:13 +10:00
Sacha
320f5f1952 Qt: Some things I missed. 2014-06-26 17:58:05 +10:00
Sacha
9c0d44ceb0 Qt: Let Qt decide which directories to use for Qt5. Fix an SDL Audio error which was a false positive. 2014-06-25 15:40:28 +10:00
Sacha
eb458da7c7 Qt: forgot ifdef 2014-06-25 13:26:43 +10:00
Sacha
51c8a57821 Qt: Use SDL Audio where available. Should give consistent audio amongst Linux platforms. 2014-06-25 13:00:42 +10:00
Sacha
58020174b1 Remove Meego define. Use Maemo instead. 2014-06-18 03:41:20 +10:00
Sacha
1509ddd2ba Qt: Fix bug that draws two UIs on USING_GLES2 and not MOBILE_DEVICE 2014-06-17 23:45:04 +10:00
Sacha
4f0ffa2d51 Make Qt a bit more friendly for Android. Report as Qt:Android. Use standard locations. 2014-06-03 10:02:24 +10:00
Sacha
94cdd4d609 Qt: Use Qt's exit routine which returns exec() and allows clean exit. 2014-05-15 17:47:33 +10:00
Unknown W. Brackets
36a9bafcaf Avoid a char * for constant strings. 2014-02-15 01:46:47 -08:00
Unknown W. Brackets
c69e7c3bea Fix crash on shutdown in Qt.
Scoped pointers need to destruct first, or else we'll try to access emulator internals
within their destructors.
2014-02-15 01:42:48 -08:00
Henrik Rydgard
5557c6801b Also add basic support for "clean exit" to Symbian (although hacky) 2014-02-12 11:54:53 +01:00
Sacha
469088b162 Oops. Maemo fix. 2014-01-06 10:41:53 +10:00
Sacha
a2dfb0f5ea Fix Qt for Maemo 2014-01-05 10:53:47 +10:00
Sacha
1fbab7d728 Qt: Update miscellaneous 2013-12-08 21:09:24 +10: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
deb3ccc261 Symbian buildfix 2013-12-04 18:12:57 +01:00
Sacha
3bb995319b SDL/Qt: Cleanup. 2013-11-26 16:38:00 +10:00
Peter Tissen
3b076b41a9 refactored SDL joystick into seperate file 2013-11-22 02:00:35 +01:00
Peter Tissen
f0e47c2ced disable non-menu Main Window for all non ARM Qt platforms including Linux, Windows and OSX. 2013-11-05 13:13:31 +01:00
Sacha
c00a47c892 Code cleanup. Rearrange code in logical order. Increase Symbian vibration.
Pandora runfast was redundant (exists in math_util). Also it is VFPv3 not VFPv2.
2013-11-04 23:49:48 +10:00
Sacha
c485d9b25a Increase vibration on Symbian. 2013-10-29 20:18:38 +10:00
Sacha
60f1d1e3cb Clean up of unused or redundant code and comments. 2013-10-29 11:24:10 +10:00
Sacha
7d8beb9449 Use a Qt vibrator instead of a Symbian C++ one. Potentially cross-platform? Also, this should select a better default vibrator (eg. touch instead of phone call) which should allow vibration to work during charging. 2013-10-27 05:32:31 +10:00
Summeli
74e40608b3 fixed tabs, and using NativeKeys instead of forwarding keyevent though qapplication 2013-10-26 18:46:38 +03:00
Summeli
90bc1a8218 Added support for Symbian Mediakeys
support for Symbian Mediakeys. Usually volume up/down, but it also
support play/stop etc. if user has "remotecontrol" provided with nokia
headset.
2013-10-26 17:20:08 +03:00
Sacha
37cd71b2a4 Enable threaded audio on Symbian. 2013-10-26 19:51:29 +10:00
Sacha
b9c5c5fc3d Crash fix for Symbian. Will have to put up with crummy music a little bit longer. 2013-10-23 04:10:32 +10:00
Sacha
30edf6b894 Simply stick the Qt audio in a thread. It will now run flawlessly at low frame rates or frameskipping as well. 2013-10-22 14:52:14 +10:00
Sacha
887d140d55 Qt:Use ARM to define mobile platform. Don't show fullscreen on Windows. 2013-10-21 22:44:46 +10:00
Unknown W. Brackets
40e820b905 Dumb typo. 2013-10-19 22:36:04 -07:00
Unknown W. Brackets
5406579d6d Fix some const usage warnings. 2013-10-19 14:56:06 -07:00
Sacha
70af7173e0 Linux Qt5 fix. 2013-10-20 05:04:02 +10:00
Sacha
644b781687 Make build work for Qt5 as well. 2013-10-19 05:21:44 +10:00
Sacha
3b8f098e7a Use a better method for getting locale with Qt. Now works with Qt 4.7. 2013-10-17 18:41:00 +10:00
Sacha
f08d4ccad5 Correctly identify language and region on all Qt platforms. 2013-10-17 15:43:49 +10:00
Sacha
36bc59f006 Add vibration support for Symbian and stub for Qt. 2013-10-11 02:49:09 +10:00