Commit Graph
94 Commits
Author SHA1 Message Date
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
Henrik Rydgard 8b75763275 WIP new UI layout system! 2013-05-25 16:57:07 +02:00
Sacha 30802a1120 Buildfix and improvements to Pandora 2013-05-06 23:56:41 +10:00
Unknown W. Brackets 8e0e4bf1d1 Uninvert bumpers, fixes hrydgard/ppsspp#1096. 2013-04-06 20:22:29 -07:00
Sacha 110e88e257 Fix stuck keys on Qt and Blackberry 2013-04-07 00:34:46 +10:00
Unknown W. Brackets abc38a90f6 Buildfix for Mac/Linux/etc.
Although, Qt seems more involved...
2013-03-29 22:20:21 -07:00
Aapo Rantalainen 762d096cc0 Maemo5: SDL_ShowCursor(SDL_DISABLE);
Cursor flickered. And there are no use of cursor with touch screen.
2013-03-25 20:45:39 +02:00
Aapo Rantalainen 0fbb4c3905 Maemo5 support. Almost same than PANDORA 2013-03-22 17:14:18 +02:00
KentuckyCompass 0d8bcfe9ae tab key for turbo mode 2013-01-25 17:24:50 -08:00
Sacha 0578607c84 Pandora buildfix and joystick support. 2013-01-14 21:32:39 +10:00
Henrik Rydgård 9df584067e Merge pull request #28 from xsacha/pandora-port
Port to Pandora.
2013-01-12 08:14:55 -08:00
Sacha 7c0f9617b0 Port to Pandora. Thanks to ptitSeb. 2013-01-13 01:45:01 +10:00