Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Sdl2 Vita: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 1: Line 1:
{{cleanup|article|Needs cleanup}}
{{#seo:
{{#seo:
|title=Vita Homebrew PC Tools (Developments) - GameBrew!
|title=Vita Homebrew PC Tools (Developments) - GameBrew!
Line 19: Line 18:
|source=https://github.com/rsn8887/SDL-Vita
|source=https://github.com/rsn8887/SDL-Vita
}}
}}
SDL2 and SDL1.2 for PS VITA
'''SDL2''' is a binary release of SDL2 Library version 2.0.8dev version ported to PS Vita.


==Media==
==Installing SDL2==
<youtube>RIaJHh60hQY</youtube>
To install, download and run


<pre>tar --no-same-owner --no-same-permissions -C $VITASDK/arm-vita-eabi -xJf sdl2_vita_20180523.tar.xz<pre>


==Screenshots==
==Linking==
https://dlhb.gamebrew.org/vitahomebrews/sdl2vita-01.jpg
Because of the included touch and Bluetooth functionality, programs linking to SDl2 now need the additional linker arguments
https://dlhb.gamebrew.org/vitahomebrews/sdl2vita-02.jpg
https://dlhb.gamebrew.org/vitahomebrews/sdl2vita-03.jpg
https://dlhb.gamebrew.org/vitahomebrews/sdl2vita-04.jpg
https://dlhb.gamebrew.org/vitahomebrews/sdl2vita-05.jpg
https://dlhb.gamebrew.org/vitahomebrews/sdl2vita-06.jpg
https://dlhb.gamebrew.org/vitahomebrews/sdl2vita-07.jpg
https://dlhb.gamebrew.org/vitahomebrews/sdl2vita-08.jpg


==Changelogs==
<pre>-lSceTouch_stub -lSceHid_stub</pre>
'''(v.1.0)'''
to compile successfully.
* First Release.
 
==Compiling from Source==
Clone or download the git repo source. Then cd into the SDL-Vita folder and run
<pre>
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
</pre>
 
==Screenshot==
[[image:sdl2vita.jpg|600px]]
 
==Changelog==
'''(v2.0.8 - 20180523)'''
*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 ==
== External links ==
* Official Website -
* Github - https://github.com/rsn8887/SDL-Vita
* Github - https://github.com/rsn8887/SDL-Vita
* VitaDB -
* Gbatemp -
* Google Source -
* Reddit -
* Gitlab -

Revision as of 23:56, 21 November 2022

SDL2
File:Sdl2vita.jpg
General
Authorrsn8887
TypeDevelopments
Version2.0.8dev_vita_rsn8887_git_20180523
LicenseMixed
Last Updated2018/05/24
Links
Download
Source

SDL2 is a binary release of SDL2 Library version 2.0.8dev version ported to PS Vita.

Installing SDL2

To install, download and run

tar --no-same-owner --no-same-permissions -C $VITASDK/arm-vita-eabi -xJf sdl2_vita_20180523.tar.xz<pre>

==Linking==
Because of the included touch and Bluetooth functionality, programs linking to SDl2 now need the additional linker arguments

<pre>-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

Screenshot

File:Sdl2vita.jpg

Changelog

(v2.0.8 - 20180523)

  • 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

Advertising: