Commit Graph

994 Commits

Author SHA1 Message Date
Henrik Rydgård
045c24d064 SDL: Add support for hat motion events. Y axis may be inverted, not sure. 2013-11-01 22:15:08 +01:00
Sacha
f5121df3be Rearrange when NativeInit starts so that BPS events are available for it. 2013-11-02 04:28:34 +10:00
Thiago Kenji Okada
64e9c2088f Change string manipulation to C++ string class
std::string seems to be the preferred method since you don't need to alloc
more memory then you need (the Class automagically allocates the necessary
RAM) and there is no chance of buffer overflow. But since I don't have Mac
OSX, I didn't test it (it should work, since this is standard C++).

Add Mac OSX support to Launcher{Market,Email} too and changed Linux to use
"xdg-email " instead "xdg-open mailto:" since this seems the preferred method.
2013-11-01 15:09:36 -02:00
Henrik Rydgård
4c8922d9e7 Add support for launching URLs on MacOSX 2013-10-31 17:46:59 +01:00
Henrik Rydgård
55b8a95a29 Add F1-F12 SDL key codes 2013-10-31 15:58:41 +01:00
Henrik Rydgård
0fbcdfaeee Try to fix keyboard numpad mappings in SDL 2013-10-31 15:46:07 +01:00
Henrik Rydgård
c4807fbfb8 Add basic support for showing an icon within choices 2013-10-31 13:33:53 +01:00
Henrik Rydgård
cff2711a7c Add a few weird axes seen on Ouya 2013-10-31 11:03:44 +01:00
Henrik Rydgard
2f4099fac4 Detect EXT_unpack_subimage 2013-10-31 02:27:42 +01:00
Henrik Rydgard
c3247cfdc7 Revert "Fix nasty bug in one FBO setup. Must be a common mistake that some drivers work around?"
Doesn't seem to have been a bug. But at least we got a test build out of it :P

This reverts commit 1b46a9ce6b.
2013-10-31 02:08:46 +01:00
Henrik Rydgard
1b46a9ce6b Fix nasty bug in one FBO setup. Must be a common mistake that some drivers work around? 2013-10-31 01:44:59 +01:00
Henrik Rydgard
c374c6abda Prefer modes with 24-bit or 20-bit depth to 16-bit. 2013-10-31 01:27:47 +01:00
Henrik Rydgård
6c11355920 Merge pull request #163 from m45t3r/linux_launcher
Add Launch{Browser,Market,Email} support on Linux
2013-10-30 14:53:44 -07:00
Thiago Kenji Okada
a8fbcb6165 Add Launch{Browser,Market,Email} support on Linux
Modern Linux desktop should implement a xdg-open program, that should open an
URL on the default desktop program.

The documentation of xdg-open says that we should supply xdg-open script on
our installation script for fallback purposes, but I don't think this is
really necessary: anyone using a reasonable recently DE on Linux should have
xdg-utils installed.
2013-10-30 19:48:12 -02:00
Henrik Rydgård
398137422c SDL: Choose a reasonable default window size for windowed mode (2x PSP) 2013-10-30 12:22:22 +01:00
Sacha
6640b7b7ad SDL: Detect resolution automatically. Use --fullscreen switch to enable fullscreen. 2013-10-30 13:05:17 +10:00
Henrik Rydgård
68bb097c2f Android quick buildfix 2013-10-29 12:43:03 +01:00
Sacha
bc39c0a8e2 Buildfix for Android. 2013-10-29 20:21:14 +10:00
Sacha
c485d9b25a Increase vibration on Symbian. 2013-10-29 20:18:38 +10:00
Henrik Rydgård
b2bc4ffa8e Add "auto-enabled" to ui views (set a pointer to a bool that decides whether the view is enabled or not) 2013-10-29 10:11:41 +01:00
Sacha
60f1d1e3cb Clean up of unused or redundant code and comments. 2013-10-29 11:24:10 +10:00
Henrik Rydgård
2b63ad24ca Add the armv6 flag to armeabi builds 2013-10-28 16:42:50 +01:00
Henrik Rydgård
416cff372c UI fixes 2013-10-28 16:05:21 +01:00
Henrik Rydgard
214de3a993 Fix back button behaviour on Android Honeycomb and later. 2013-10-28 11:24:03 +01:00
Sacha
3ddda26eef Increase audio buffer size by a factor of 5. Helps with audio in some games. 2013-10-28 15:33:02 +10:00
Sacha
11e62f7f3a Add option to display Blackberry debug statistics. Even if you are not running a debug firmware. 2013-10-28 14:17:53 +10:00
Sacha
f0819f14a4 Blackberry: Instead of polling controller on event, use the event duh. Don't check controller string id -- this is expensive. Use locale function because it's what we want. 2013-10-28 12:26:00 +10:00
Sacha
63d427ff9b Endian Swap: Fall back to ARM implementation for Symbian. 2013-10-28 03:54:35 +10:00
Sacha
3285f6f41e Improve swap code to include more platforms. 2013-10-28 03:07:01 +10:00
Henrik Rydgård
01b8cda080 Make the EGL config chooser actually prefer modes with no alpha.
Should finally take care of #4272.
2013-10-27 10:11:22 +01:00
Henrik Rydgård
2b9efce35b Merge pull request #162 from bollu/checkboxToggle
allow checkboxes to be force-toggled
2013-10-27 00:51:54 -07:00
Siddharth
4ebb62aa98 allow checkboxes to be force-toggled 2013-10-27 10:58:16 +05:30
Sacha
55810809b0 Support left analog stick for game controllers on Blackberry. 2013-10-27 11:00:36 +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
xsacha
70968b4a82 Merge pull request #161 from Summeli/master
Added support for Symbian Mediakeys
2013-10-26 10:48:48 -07:00
Summeli
0feb3b05e6 Fix indents and use native keys. 2013-10-26 20:34:46 +03:00
Summeli
74e40608b3 fixed tabs, and using NativeKeys instead of forwarding keyevent though qapplication 2013-10-26 18:46:38 +03:00
Summeli
a1622cd5c8 using native keycodes instead of my own as symbian mediakeys 2013-10-26 18:14:52 +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
Henrik Rydgård
c53bf92350 Add onFinish callback to screens, hook up for UIScreen::OnBack 2013-10-25 13:09:47 +02:00
Henrik Rydgård
0c397c3e68 Fix the vcxproj 2013-10-25 12:44:03 +02:00
Henrik Rydgård
ad85b8e69d Ignore alpha when creating the backbuffer. Getting weird problems on some android devices.
Add BroadCom to GPU vendors
2013-10-25 12:35:53 +02:00
Henrik Rydgård
4c676c3904 Move GLExtensions to a new header that is not pulling in GL headers.
Start moving out detection functionality that does not need GL headers to gpu_features.cpp.
2013-10-25 11:43:40 +02:00
Sacha
421261de82 Fix atomics on Blackberry. Was not clearing. 2013-10-25 19:05:27 +10:00
Sacha
b9ba2f27ac Use clock_gettime instead of gettimeofday as recommended by QNX. 2013-10-25 14:14:23 +10:00
Sacha
46dfa25ca4 Blackberry has FZ enabled by default. No need to add it manually. See: https://bugs.webkit.org/show_bug.cgi?id=97008 2013-10-25 14:14:23 +10:00
Henrik Rydgard
26946b52e7 Terribly ugly workaround for destination alpha issues on Mali. Fixes #4272 . 2013-10-24 01:14:41 +02:00
Sacha
83b65e7de1 Remove DisableFZ. Use a working armv7 define. Add EnableFZ to Blackberry thread. 2013-10-24 03:07:26 +10:00
Henrik Rydgård
4c8157694a Make keyboard navigation act slightly less crazy. 2013-10-23 13:55:11 +02:00