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
Unknown W. Brackets
ec66427904
Cut down on CHECK() and FLOG() in Buffer.
...
Also add a buffer copy (would rather not read into the wrong buffer to start, but it happens...)
2013-06-24 19:36:53 -07:00
Sacha
9f510771bd
Fix 'external dir' for new 'Home' button in PPSSPP file manager.
2013-06-19 05:10:32 +10:00
Henrik Rydgård
5d098ca88b
Fix mouse bug in SDL port
2013-06-15 15:12:18 +02:00
Henrik Rydgard
2f46baa138
Add "\n" parsing to i18n code. Move some code from Common.
2013-06-09 13:39:16 +02:00
Henrik Rydgard
73f5870096
Android buildfix
2013-06-09 13:06:02 +02:00
Henrik Rydgard
2143b5b608
Minor fixes. Use OutputDebugString for native logging on Windows.
2013-06-09 11:20:15 +02:00
Henrik Rydgard
a509d38357
UI, http with gzip, etc.
2013-06-04 22:32:04 +02:00
Henrik Rydgard
3b9750ee49
Fix a race condition in downloader, some ui style stuff
2013-06-04 22:32:04 +02:00
Sacha
a4e9197fb4
Buildfix for Blackberry and Meego.
...
Disable external display for Blackberry devices with 16:9 aspect ratio and no keyboard.
Cleanup BlackberryMain.
2013-06-04 22:50:22 +10:00
Sacha
f9e9ed6e27
Update BlackberryMain.
...
Now can push game output to external display and render at external display native resolution. Very useful for Q5/Q10 owners. Maybe not so good for Z10 right now as controls are not shown on device.
Known issue: HDMI only works if it was plugged in when the application started. Hotplugging still has issues.
2013-06-04 14:40:10 +10:00
Henrik Rydgard
27db010dde
Remove 'p' alias for functional placeholders
2013-06-03 19:59:32 +02:00
Sacha
b8f2a75677
Initialise buttons so we don't get stuck keys.
2013-06-03 03:39:02 +10:00
Sacha
b7a01dc2fe
Fix shared_ptr as well.
2013-06-02 22:58:55 +10:00
Sacha
0ef45bd23d
Move C++11 functions to std namespace.
2013-06-02 22:25:57 +10:00
Henrik Rydgård
5ee92c352b
Merge pull request #84 from xsacha/master
...
Fix up spacing/tabs in mutex.h
2013-06-02 04:51:26 -07:00
Sacha
8206163dae
Fix up spacing/tabs in mutex.h
2013-06-02 21:45:35 +10:00
Henrik Rydgard
476021d5a4
Fix namespace issues in base/functional.h
2013-06-02 13:44:04 +02:00
Sacha
58c40dabb1
Fix C++11 usage in native with platform-specific hacks.
2013-06-02 13:06:40 +10:00
Sacha
e2378dd970
New Blackberry 10 frontend
...
New BlackberryMain class, separated in to main, display and audio.
Multiple display support (such as HDMI, AV out or Blackberry dock).
Switchable display support. Starts in internal display for menus. Switches to external display for in game. Currently does not work properly for hotplugging screens so the switchable displays is disabled.
2013-06-01 16:04:10 +10:00
Henrik Rydgard
4a208872c5
Android buildfixing
2013-06-01 00:50:08 +02:00
Henrik Rydgard
21a9fa2645
Merge remote-tracking branch 'origin'
...
Conflicts:
native.vcxproj
native.vcxproj.filters
2013-05-31 23:08:19 +02:00
Henrik Rydgard
5f659ce282
Add some network stuff (background downloader, URL splitter)
2013-05-31 23:04:42 +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
dfe03d3d97
Blackberry: Improve Wiimote key mappings.
...
Also, map dpad to analog.
2013-05-23 18:20:53 +10:00
Sacha
cc80e0292f
Add controller/gamepad support to Blackberry 10.
2013-05-22 01:30:43 +10:00
Sacha
6c3a381781
Remove code that is redundant for Blackberry 10.
2013-05-21 23:46:12 +10:00
Sacha
a6dc54e678
Remove Playbook OS support.
...
Remove the #ifdef's for BB10.
Switch asound to OpenAL (which is included in BB10). Fixes some glitches with sound.
2013-05-20 22:43:18 +10:00
Sacha
f6dd98570b
Be like other emulators on Blackberry and use the 'misc' dir.
2013-05-16 13:50:30 +10:00
Sacha
49c68a2494
Blackberry: Save settings when killed by OS. Clear menu key after use.
2013-05-09 00:27:18 +10:00
Sacha
78ba620974
Improve input on Blackberry Q10 keyboard.
2013-05-08 21:21:02 +10:00
Sacha
30802a1120
Buildfix and improvements to Pandora
2013-05-06 23:56:41 +10:00
Henrik Rydgard
3edf239571
Remove use of clock_gettime in favor of gettimeofday.
2013-05-04 17:55:01 +02:00
Daniel Martí
0a8acae315
First attempt at fixing native/tools build
2013-04-24 17:07:13 +02:00
Sacha
c59ee2bccc
Update for Blackberry10. Update deprecated functions. Add support for Portrait QWERTY devices like Q10.
2013-04-22 23:19:03 +10:00
Sacha
e584a005ac
Define vasprintf is native, for Blackberry
2013-04-22 14:22:18 +10:00
Sacha
6868cb5d32
Buildfix for Symbian.
2013-04-21 16:36:05 +10:00
JimLee168
d923a8f1e6
The event modify mutex use and increase the reset
2013-04-21 00:29:45 +08:00
Henrik Rydgard
b98957bf8d
Buildfix for linux
2013-04-18 20:55:46 +02:00
Henrik Rydgard
b25cfe209b
Basic internationalization (i18n) framework.
2013-04-18 11:56:50 +02:00
Henrik Rydgard
909b67743e
Drop shadow support for TextureButton
2013-04-17 22:13:21 +02:00
Sacha
7d25fe3736
Disable screensaver for Symbian.
2013-04-18 00:22:38 +10:00
Sacha
9b709c2170
Harmattan: create PPSSPP dir if it doesn't exist.
2013-04-14 17:01:39 +10:00
Henrik Rydgard
25711066df
Add prioritizedworkqueue, thread stuff, ui tweaks, small optimizations in file util
2013-04-13 21:22:03 +02:00
Sacha
bff1115f0c
Support Qt 'app boosters'. A technique where Qt apps are treated as shared objects and loaded in to an existing Qt app shell. This is used on Harmattan and Blackberry10.
2013-04-14 03:00:43 +10:00
Sacha
5626d01e14
More Harmattan/N9 support.
2013-04-12 02:50:14 +10:00
Sacha
bd7bee5a11
Blackberry tablets have reversed accelerometer values (y = x) due to their landscape affinity. The only Blackberry tablet is also the only device with 1024 pixel width, so check for this as it is easier than looking up machine ID.
2013-04-12 00:21:35 +10:00
Sacha
9c96dcea91
Blackberry: If PPSSPP dir doesn't exist yet, a lot of things break. Let's just use documents dir.
2013-04-11 15:12:48 +10:00
Unknown W. Brackets
8e0e4bf1d1
Uninvert bumpers, fixes hrydgard/ppsspp#1096 .
2013-04-06 20:22:29 -07:00
Sacha
7ebbe20904
Support accelerometer in Qt for all mobile platforms.
2013-04-07 00:52:09 +10:00
Sacha
110e88e257
Fix stuck keys on Qt and Blackberry
2013-04-07 00:34:46 +10:00
Sacha
00307429eb
Add input state to Qt, as required
2013-04-01 22:43:01 +10:00
Henrik Rydgard
1f34f8ff60
Allow loading textures from a PNG in RAM. Add startsWith string function.
2013-03-30 13:11:52 +01:00
Unknown W. Brackets
abc38a90f6
Buildfix for Mac/Linux/etc.
...
Although, Qt seems more involved...
2013-03-29 22:20:21 -07:00
Henrik Rydgard
a47c3b465e
NativeMix now returns int
2013-03-29 18:09:59 +01: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
Sacha
3c160ecb5a
Only run the UI on X11 for now until threads issue is resolved.
2013-03-20 08:49:50 +10:00
Sacha
a0f4674f0b
Use Qt to lock orientation instead of platform-specific code.
2013-03-20 05:27:27 +10:00
Sacha
1ec67d5ac2
Use lowercase letters for mobile Qt UI
2013-03-12 14:41:26 +10:00
Sacha
e0d107ad20
Accelerometer support for Blackberry.
2013-03-11 22:04:06 +10:00
Sacha
9964684920
Add accelerometer support to Qt (Symbian-only for now)
2013-03-11 11:51:35 +10:00
Sacha
b8100e0238
MIPS support
2013-03-10 13:22:46 +10:00
Sacha
7bc8374c88
Change Blackbery paths
2013-03-10 12:28:34 +10:00
Unknown W. Brackets
f26d95dba1
Fix FlushSocket() error check.
2013-03-02 13:40:07 -08:00
Unknown W. Brackets
3c1566b9a7
Linux buildfix, darn.
2013-03-01 22:50:14 -08:00
Unknown W. Brackets
9817448c59
If needed, call send() multiple times in HTTP.
2013-02-28 23:48:41 -08:00
Unknown W. Brackets
17c8eb1ae7
Arg, buildfix for Mac.
2013-02-23 19:52:48 -08:00
Unknown W. Brackets
e77cea0211
Buildfix for Mac.
2013-02-23 19:48:25 -08:00
Unknown W. Brackets
9c183fcca8
Add a timeout event.wait_for() method.
...
Not exactly like std::condition_variable, but similar.
2013-02-23 13:23:20 -08:00
Sacha
f4cc78cbfd
Use RunFast VFPv2 mode on Symbian.
2013-02-20 13:07:19 +10:00
Sacha
f807e225f7
Quick fix for missing QDir
2013-02-20 00:18:13 +10:00
Sacha
14386f87b0
Use temp path from Qt. Fixes windows.
2013-02-20 00:04:30 +10:00
Xele02
be52e8c673
Add mutex, or wait don't work correctly
2013-02-17 01:28:26 +01:00
Sacha
0bb312c92a
Now that only mobile platforms use this code path, remove the desktop support
2013-02-13 05:11:56 +10:00
Sacha
14b9794c26
Move PPSSPP window init out of here because native is meant to be generic.
2013-02-13 04:54:47 +10:00
Sacha
21e4e12f65
Fix spinny buttons animation on Qt and Blackberry front-ends.
2013-02-11 21:35:10 +10:00
Sacha
fa10aae32f
Use fixed DPI on Symbian. New devices seem to lie about DPI.
2013-02-11 12:10:42 +10:00
Marcin Mikołajczyk
e6dce8e1af
Fix PPSSPP Qt interface compilation on 64bit Linux
2013-02-04 15:55:17 +01:00
Xele02
de960cb8c9
Correct audio crash when close
2013-02-01 02:13:32 +01:00
Sacha
a8e30185f2
Small adjustments for Blackberry/Symbian
2013-01-29 07:35:39 +10:00
Henrik Rydgård
2f06061f36
Merge pull request #38 from KentuckyCompass/tab_turbo
...
tab key for turbo mode
2013-01-26 02:02:39 -08:00
KentuckyCompass
0d8bcfe9ae
tab key for turbo mode
2013-01-25 17:24:50 -08:00
Summeli
9493e56b2c
Routing loggings in Symbian though qDebug to the console
2013-01-25 17:00:07 +02:00
Sacha
d783975258
Fix cityhash for non-glibc systems where byteswap isn't defined. Define it manually instead. Also, fix harmattan building of Qt frontend.
2013-01-23 11:31:19 +10:00
Sacha
00acbd2f74
Revert some temporary changes for Stage 1 refactor of Qt.
2013-01-16 02:19:22 +10:00
Sacha
ef75aee0a2
Fix Qt audio for all platforms.
2013-01-15 20:45:26 +10:00
Sacha
0578607c84
Pandora buildfix and joystick support.
2013-01-14 21:32:39 +10:00
Sacha
02307d8226
Fix Qt native file and remove redundancies.
2013-01-14 19:20:28 +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
Henrik Rydgård
170a45ef4f
Merge pull request #29 from Xele02/qtwindow
...
Update native for Qt Window
2013-01-13 15:06:38 -08: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
Sacha
44e9e946a9
Add names to the magic numbers of left joystick input (Qt/Blackberry).
2013-01-13 02:29:37 +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
Henrik Rydgard
dcc9785357
Bugfix LoggingDeadline
2013-01-11 23:46:37 +01:00
Florent Castelli
7b9daa28c4
Properly restore all the OpenGL states properly and added a sanity check.
...
Also set the proper viewport value at startup.
2013-01-11 19:02:56 +01:00
Henrik Rydgard
af5142d32a
Add missing printf parameter
2013-01-11 00:29:26 +01:00
Henrik Rydgard
135ae4faf5
Add LoggingDeadline, sprinkle this to track what takes time
2013-01-10 23:47:50 +01:00
Henrik Rydgård
c63061ddfd
Merge pull request #25 from xsacha/master
...
Qt and Blackberry port
2013-01-10 02:29:18 -08:00
Sacha
1d82b785df
Fix joystick keys
2013-01-10 20:25:10 +10:00
Henrik Rydgård
11a1e35783
Disable poor frame limiter in PCMain.cpp (SDL) for now, rely on vsync instead.
2013-01-10 11:11:32 +01:00
Sacha
472cf6af1a
Fix keyboard input on Blackberry and enable on Qt frontend. Make Qt open a window instead of fullscreen for non-mobile systems. Make the window resizable (updates pixel_*res and dp_*res).
2013-01-10 18:06:11 +10:00
Henrik Rydgård
1556328129
Make TouchButton not always override other input. Modify mappings.
2012-12-26 08:25:38 +01:00
Sacha
1a3fa62361
Support for Linux/Windows in Qt frontend
2012-12-23 17:47:52 +10:00
Sacha
885f06eecf
Add audio to Qt frontend
2012-12-16 19:47:51 +10:00
Sacha
5cec70972f
Clean up QtMain
2012-12-13 17:05:12 +10:00
Sacha
aa8a1c7de0
Symbian support.
...
Add new Qt frontend. Can be used by any platform. Currently used by Symbian.
2012-12-13 16:38:33 +10:00
Henrik Rydgård
7ed5811db3
Restore a few missing pieces of glstate. Cleanup.
2012-12-05 10:41:47 +07:00
Sacha
3785e2994d
Blackberry 10 Port
...
* Replace SDL with asound backend (removes the only dependency)
* Use BlackberryAudio to expose asound (Known bug: delayed audio)
* Proper spacing for keyboard keys
* Clean up for BlackberryMain.cpp
* Remove some redundancies for Blackberry EGL setup
2012-12-02 15:53:13 +10:00
Henrik Rydgard
92bd22ffe5
Merge branch 'master' of github.com:hrydgard/native
2012-12-01 10:36: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
Sacha
c0f531d182
Use swipe down or back to pause game on Blackberry (sets PAD_BUTTON_MENU). Fix a glitch which prevented keys from being set.
2012-11-28 23:03:09 +10:00
Henrik Rydgard
8c7b70e0d9
SDL include workaround
2012-11-27 16:53:22 +01:00
Henrik Rydgard
390f9b93de
Merge branch 'master' of github.com:hrydgard/native
2012-11-27 16:38:59 +01:00
Henrik Rydgard
0853b3ed8e
Add directory listings to VFS
2012-11-27 16:38:24 +01:00
Sacha
640cce9b88
Use new defines: USING_GLES2, ARM and add iOS support.
2012-11-26 20:27:35 +10:00
Florent Castelli
3d1a14ef78
Include SDL.h instead of SDL/SDL.h
2012-11-25 22:25:54 +01:00
Henrik Rydgard
8677fac72c
Some UI code cleanup. Another variant of ease curve function. RebindTexture.
2012-11-22 18:41:04 +01:00
Henrik Rydgard
16e3d67063
Add UIContext, to make it easier to pass around what's needed to draw.
...
Not used in PPSSPP yet, for the curious.
2012-11-22 18:40:32 +01:00
Sacha
0bed6a94f0
Remove redundant Blackberry code in FBO and Main
2012-11-21 23:08:14 +10:00
Kovensky
b17119f2c6
Fixes for compatibility with FreeBSD
...
backtrace.cpp assumes that anything non-windows is linux.
stb_vorbis.c includes malloc.h which has been deprecated since the 90s
on all implementations other than MSVC.
The stat64 hack in file_util.cpp is only needed on linux.
http_client.h also assumes non-windows is linux.
2012-11-18 21:41:44 -03:00
Sacha
fa2b68e19a
Fix for file UI on Blackberry
2012-11-15 01:43:33 +10:00
Sacha
79e5f1b25a
Blackberry: Fixes for keyboard, touch lagg and more
2012-11-12 02:00:51 +10:00
Sacha
19e059c362
Add toast dialogs to BB10. Allow use of (hardcoded) keyboard shortcuts for USB/BT keyboards on Blackberry. Fix a file manager glitch. Track mouse movements (note: this is laggy for now)
2012-11-08 15:27:53 +10:00
Sacha
0c77415df1
Blackberry 10 fully supported with working video, input and sound on Playbook, Dev Alpha and beyond.
...
Video: http://www.youtube.com/watch?v=CdUL1DalYrw
2012-11-08 03:29:35 +10:00
Sacha
b52bd57aa1
PPSSPP ported to Blackberry 10
...
Now builds for Playbook and Dev Alpha
Android's GLES2 backend is used.
2012-11-05 23:22:10 +10:00
MrOrdinaire
a13616e684
fix missing #include's and missing CMake linking directives
2012-11-03 10:34:06 +08:00
Henrik Rydgård
91d086e359
Fix portrait zoom in PCMain
2012-10-31 14:01:32 +01:00
Henrik Rydgård
ad001f7e16
PCMain: Simulate tablet resolution with option
2012-10-31 12:12:24 +01:00
Henrik Rydgård
5a5f599e1b
Reindent (->tabs)
2012-10-30 13:20:55 +01:00
Henrik Rydgård
60d3b5f601
UI work
2012-10-28 11:37:10 +01:00
Henrik Rydgård
748bdb3101
Virtual input code now working
2012-10-26 18:42:32 +02:00
Henrik Rydgard
70e6752884
Simple framework for virtual touchscreen buttons
2012-10-26 15:58:09 +02:00
Henrik Rydgård
46f7f29cec
Avoid LLVM warning
2012-10-06 12:28:20 +02:00
Henrik Rydgard
976c0d96d1
Merge branch 'master' of github.com:hrydgard/native
...
Conflicts:
ui/screen.cpp
2012-09-28 10:01:45 +02:00
Henrik Rydgard
1c1889c726
WIP
2012-09-28 10:01:01 +02:00
Henrik Rydgard
01f2b5ada0
Remove the screenManager global, other assorted cleanup
2012-09-18 09:46:58 +02:00
Henrik Rydgard
c5370b497b
Fix bug in readWString
2012-09-17 19:26:28 +02:00
Henrik Rydgard
743631c217
Warning fixes. add comments about OpenGL 3 context in SDL.
2012-09-01 15:16:23 +02:00
Henrik Rydgard
4de7dc1b06
Merge branch 'master' of github.com:hrydgard/native into HEAD
...
Conflicts:
ext/stb_vorbis/stb_vorbis.c
2012-08-31 13:11:40 +02:00
Henrik Rydgard
c1d198914c
Minor fixes
2012-08-31 12:11:11 +02:00
Henrik Rydgard
3a533ad74c
Misc
2012-08-29 13:46:28 +02:00