Commit Graph
105 Commits
Author SHA1 Message Date
Henrik Rydgård ca90b79bf8 Fix Android input box function. Add dpi to command line options in PCMain. 2014-01-21 15:57:15 +01:00
Henrik Rydgård 73f612aaa8 SDL: Add preliminary fullscreen toggle support. Does not seem to work very well on Mac. 2014-01-03 15:15:35 +01:00
Henrik Rydgard 69fd1d6594 Fix USING_GLES2 + SDL builds, if we ever have any 2014-01-02 00:29:34 +01:00
Henrik Rydgård 9201587961 PCMain.cpp: Allow forcing pixel resolution on the command line.
Small optimization in gfx_es2
2013-12-16 14:06:24 +01:00
Henrik Rydgård 8166e7a094 Let apps specify that they want portrait on startup again 2013-12-13 12:49:38 +01:00
Henrik Rydgård a83ac35141 Restore functionality of "legacy key maps" in SDL.
For non-PPSSPP prototyping purposes.
2013-12-13 12:17:46 +01:00
Henrik Rydgård e015a7caad PCMain.cpp: #ifdef away PPSSPP-isms (yeah, this is ugly and needs cleanup) 2013-12-13 11:04:11 +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
Sacha 17ddae23cc Qt: Prepare for desktop UI to use embedded mobile UI. 2013-11-27 01:30:28 +10:00
Sacha 3bb995319b SDL/Qt: Cleanup. 2013-11-26 16:38:00 +10:00
Bigpet ddb9934dce actually not deleting the joystick in the runloop anymore 2013-11-24 06:27:43 +01:00
Henrik Rydgård 127d4b2d20 SDL buildfixing 2013-11-22 13:19:32 +01:00
Peter Tissen 3b076b41a9 refactored SDL joystick into seperate file 2013-11-22 02:00:35 +01:00
Sacha c2b558e881 SDL: Hide cursor when fullscreen during game without touch controls. Also remove redundant headers. 2013-11-05 12:58:47 +10: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
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
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
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
Sacha 60f1d1e3cb Clean up of unused or redundant code and comments. 2013-10-29 11:24:10 +10:00
Sacha 6986edb978 Audio: Best settings on all platforms.
After numerous tests, I have found the perfect audio settings. It seems samples now needs to be 2048 for everyone. Buffer needs to be 8192. Anything else gets a patchy noise. None of these platforms were using the right audio settings. Qt and SDL now sound perfect but Blackberry still doesn't (OpenAL thing?).
2013-10-22 13:29:34 +10:00
Nassim "Nass" Eddequiouaq 0b1f4ad3c9 Fix: SDL not finding a ddevice doesn’t stop the program anymore. 2013-10-07 03:42:42 +02:00
Aapo Rantalainen 15d92565d8 Fix: landscape and portrait should be same resolution 2013-09-17 09:49:10 +03: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 b063724c9e Logging bug fix and some warning fixes. 2013-08-27 19:44:05 +02:00
Aapo Rantalainen 74c9731d7c Maemo: *joy was not defined when MAEMO 2013-08-23 11:15:08 +03: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
Sacha 1483365689 Implement Qt keymapping. 2013-08-05 20:08:38 +10:00
Sacha 48498d1833 Rename KEYCODE to NKCODE (native key code) to kill name collision. Implement keymapping for Blackberry. 2013-08-05 03:30:34 +10:00
Henrik Rydgård 60dcf8fae9 Send KEYCODE_BUTTON_SELECT for a button code in SDL. 2013-07-20 09:37:57 +02:00
Henrik Rydgard 7151e4c06e Generalize the code mapping android key events into pad button bits, add support for keys needed to navigate UI. 2013-07-15 17:37:16 +02:00
Henrik Rydgard 693944a0a5 SDL: Fix silly dpi scaling bug 2013-07-15 14:53:29 +02:00
Henrik Rydgård 9ad07c3db0 Change SDL button mapping to (seem to) match DInput buttons 2013-07-14 14:34:24 +02:00
Henrik Rydgård ed1f13a33f Initial SDL gamepad support 2013-07-14 13:51:30 +02:00
Henrik Rydgård 3fe63c3171 Make mouse buttons mappable keys 2013-07-09 16:33:05 +02:00
Henrik Rydgard 28fb341cb2 More mousewheel support 2013-07-08 12:34:39 +02:00
Henrik Rydgård 57d3fa0134 Basic mousewheel support (SDL) 2013-07-08 11:03:32 +02:00
Henrik Rydgård 7a8076f3b2 SDL main: Don't exit on ESC. 2013-07-08 10:25:37 +02:00
Henrik Rydgård cae8c04003 SDL keymapping fix 2013-07-06 20:54:32 +02:00
Henrik Rydgard 1dec6e8154 Work towards full android joystick support. 2013-07-06 19:08:20 +02:00
Henrik Rydgård d28b58a203 Merge pull request #90 from daniel-dressler/master
Add key code pass through to applications
2013-07-02 11:24:17 -07:00
Daniel Dressler 91114ba605 Add missing SDL keycode translation pairs 2013-06-30 22:25:16 -07:00
Daniel Dressler a51474d255 Add SDL support for keycode pass through 2013-06-29 19:15:55 -07:00
Henrik Rydgård 5127d74633 Increase default landscape window size of SDL builds 2013-06-29 21:51:10 +02:00
Henrik Rydgård 5d098ca88b Fix mouse bug in SDL port 2013-06-15 15:12:18 +02:00
Henrik Rydgard cbf1b2d29d Use scissor to clip scrollviews correctly. 2013-05-27 22:57:06 +02:00
Henrik Rydgard 02a3cc1b5b ScrollView kinda working 2013-05-25 16:57:19 +02:00