ppsspp/SDL
Henrik Rydgård 054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
..
.gitignore Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00
buildassets.sh Unified assets/ dir for icons/images 2012-12-17 01:47:39 +10:00
macbundle.sh iOS/macOS : set bundle version 2020-05-01 21:36:55 +03:00
NKCodeFromSDL.h Move NKCodeFrom*.h into the relevant platform folders 2019-08-06 16:12:19 +01:00
README.TXT Modified SDL2 code to make full use of SDL2's Game Controller API. 2016-09-18 23:23:36 +01:00
SDLCocoaMetalLayer.h Initial support for vulkan on macOS ( MoltenVK ) 2020-01-20 14:42:40 +08:00
SDLCocoaMetalLayer.mm Remove base/logging.h in a whole lot more places. 2020-08-15 19:09:00 +02:00
SDLGLGraphicsContext.cpp Switch to PPSSPP's assert functions (don't use the system's) 2020-08-16 10:01:10 +02:00
SDLGLGraphicsContext.h Support full VSync control in SDL OpenGL. 2020-07-19 12:07:16 +02:00
SDLJoystick.cpp Added default control pad mapping for control pads not found in SDL's game controller database file. 2017-10-03 22:08:29 +01:00
SDLJoystick.h fix mingw and msvc cmake builds. 2018-03-23 03:18:13 +01:00
SDLMain.cpp Don't cache time in a variable. 2020-09-24 23:52:43 +02:00
SDLMain.h Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00
SDLMain.mm MacOSX buildfix. Doesn't run right yet though. 2012-11-25 12:25:07 +01:00
SDLVulkanGraphicsContext.cpp Switch to PPSSPP's assert functions (don't use the system's) 2020-08-16 10:01:10 +02:00
SDLVulkanGraphicsContext.h Finish the Linux part of this change 2020-06-22 00:54:51 +02:00

1. Install GCC, CMake, and development libraries for zlib and sdl.
2. cd SDL
3. ./buildassets.sh
4. ./b.sh

That should do it.

Special instructions for MacOSX:

Install XCode
Install CMake
Open XCode, Preferences, Downloads, Components. Install the command line toools.

Install MacPorts
Using MacPorts, install libpng
Do the above.

SDL2 Game Controller Support Notes
==================================

For SDL2 game controller support, at least SDL 2.0.4 is required.

Under the assets directory is the SDL2 game controller database: gamecontrollerdb.txt. This file contains many known control pad mappings for Windows, Linux and MAC OS. PPSSPPSDL will load this file at start-up and work out how to assign control pad buttons for your control pad.

Hot plugging of control pads is also supported.

If you control pad has a "Guide" or "Home" button then when pressed, this will trigger the emulator pause menu, thus allowing you to exit the emulator if you wish or load another game from your library.