More actions
No edit summary |
m (Text replacement - "|discussion=" to "|donation=") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#seo: | {{#seo: | ||
|title=Vita Homebrew PC Tools (Developments) - GameBrew | |title=Vita Homebrew PC Tools (Developments) - GameBrew | ||
|title_mode= | |title_mode=psvitapc2.png | ||
|image_alt=SDL2 | |image_alt=SDL2 | ||
}} | }} | ||
{{Infobox Vita Homebrews | {{Infobox Vita Homebrews | ||
|title=SDL2 | |title=SDL2 | ||
|image= | |image=psvitapc2.png | ||
|description=SDL2 and SDL1.2 for PS | |description=SDL2 and SDL1.2 for PS Vita. | ||
|author=rsn8887 | |author=rsn8887 | ||
|lastupdated=2018/05/24 | |lastupdated=2018/05/24 | ||
Line 15: | Line 14: | ||
|license=Mixed | |license=Mixed | ||
|download=https://dlhb.gamebrew.org/vitahomebrews/sdl2vita.7z | |download=https://dlhb.gamebrew.org/vitahomebrews/sdl2vita.7z | ||
|website= | |website=https://github.com/rsn8887/SDL-Vita | ||
|source=https://github.com/rsn8887/SDL-Vita | |source=https://github.com/rsn8887/SDL-Vita | ||
|donation=https://www.patreon.com/rsn8887 | |||
}} | }} | ||
SDL2 and SDL1.2 for Vita. | |||
== | ==Installation== | ||
To install, download and run | To install, download SDL2 for Vita 2.0.8dev version/binary release and run | ||
tar --no-same-owner --no-same-permissions -C $VITASDK/arm-vita-eabi -xJf sdl2_vita_20180523.tar.xz | |||
==Linking== | ==Linking== | ||
Because of the included touch and Bluetooth functionality, programs linking to SDl2 now need the additional linker arguments | Because of the included touch and Bluetooth functionality, programs linking to SDl2 now need the additional linker arguments | ||
-lSceTouch_stub -lSceHid_stub | |||
to compile successfully. | to compile successfully. | ||
==Compiling from Source== | ==Compiling from Source== | ||
Clone or download the git repo source. Then cd into the SDL-Vita folder and run | Clone or download the git repo source. Then cd into the SDL-Vita folder and run | ||
make -f Makefile.vita install | make -f Makefile.vita install | ||
The library will be installed to $VITASDK/arm-vita-eabi/lib/libSDL2.a, and the header files will be installed to $VITASDK/arm-vita-eabi/include/SDL2/*.h | The library will be installed to $VITASDK/arm-vita-eabi/lib/libSDL2.a, and the header files will be installed to $VITASDK/arm-vita-eabi/include/SDL2/*.h | ||
==Changelog== | ==Changelog== | ||
''' | '''v2.0.8 2018/05/23''' | ||
*fix bug in UpdateTexture when starting y position not equal zero | *fix bug in UpdateTexture when starting y position not equal zero. | ||
*allow rendering textures with scaling < 100% | *allow rendering textures with scaling < 100%. | ||
*remove bluetooth keyboard and mouse lag | *remove bluetooth keyboard and mouse lag. | ||
*use screen, not active area, as reference for normalized touch coords on front panel | *use screen, not active area, as reference for normalized touch coords on front panel. | ||
*use normalized touch coordinates following SDL specs | *use normalized touch coordinates following SDL specs. | ||
*use full analog joystick range | *use full analog joystick range. | ||
*only report mouse motion events when mouse has moved | *only report mouse motion events when mouse has moved. | ||
*fix repeating keys for bluetooth keyboard | *fix repeating keys for bluetooth keyboard. | ||
*fix Caps Lock and Num Lock keys for bluetooth keyboard | *fix Caps Lock and Num Lock keys for bluetooth keyboard. | ||
*bluetooth keyboard support | *bluetooth keyboard support. | ||
*bluetooth mouse support | *bluetooth mouse support. | ||
*game controller API support with builtin config for Vita/VitaTV controllers. | *game controller API support with builtin config for Vita/VitaTV controllers. | ||
*many bugfixes | *many bugfixes. | ||
*multiple controller support on VitaTV | *multiple controller support on VitaTV. | ||
== External links == | == External links == | ||
* | * GitHub - https://github.com/rsn8887/SDL-Vita | ||
[[Category:Support the author]] |
Latest revision as of 01:11, 14 August 2023
SDL2 | |
---|---|
General | |
Author | rsn8887 |
Type | Developments |
Version | 2.0.8dev-20180523 |
License | Mixed |
Last Updated | 2018/05/24 |
Links | |
Download | |
Website | |
Source | |
Support Author | |
SDL2 and SDL1.2 for Vita.
Installation
To install, download SDL2 for Vita 2.0.8dev version/binary release and run
tar --no-same-owner --no-same-permissions -C $VITASDK/arm-vita-eabi -xJf sdl2_vita_20180523.tar.xz
Linking
Because of the included touch and Bluetooth functionality, programs linking to SDl2 now need the additional linker arguments
-lSceTouch_stub -lSceHid_stub
to compile successfully.
Compiling from Source
Clone or download the git repo source. Then cd into the SDL-Vita folder and run
make -f Makefile.vita install
The library will be installed to $VITASDK/arm-vita-eabi/lib/libSDL2.a, and the header files will be installed to $VITASDK/arm-vita-eabi/include/SDL2/*.h
Changelog
v2.0.8 2018/05/23
- fix bug in UpdateTexture when starting y position not equal zero.
- allow rendering textures with scaling < 100%.
- remove bluetooth keyboard and mouse lag.
- use screen, not active area, as reference for normalized touch coords on front panel.
- use normalized touch coordinates following SDL specs.
- use full analog joystick range.
- only report mouse motion events when mouse has moved.
- fix repeating keys for bluetooth keyboard.
- fix Caps Lock and Num Lock keys for bluetooth keyboard.
- bluetooth keyboard support.
- bluetooth mouse support.
- game controller API support with builtin config for Vita/VitaTV controllers.
- many bugfixes.
- multiple controller support on VitaTV.
External links
- GitHub - https://github.com/rsn8887/SDL-Vita