Simple Directmedia Layer
Find a file
xeonmc 228b9fb517
Update SDL_windowswindow.c (#6225)
Clip rectangle set to int(left+width/2) , int(top+height/2) , int(left+width/2)+1 , int(top+height/2)+1
a 1x1 box
On even-valued resolution, cursor is stable at bottom-right central pixel
On odd-valued resolution, cursor is stable at exact central pixel.
this is the desired behaviour
2022-09-13 12:43:16 -07:00
.github
acinclude
android-project
android-project-ant
build-scripts
cmake cmake: forward HAVE_LIBUSB to HAVE_HIDAPI_LIBUSB 2022-09-10 15:53:11 +02:00
docs Add build target to Xcode project to create an xcframework for iOS (#6188) 2022-09-05 13:10:15 -07:00
include Added left and right sensors for Nintendo Joy-Con and Wii controllers 2022-09-07 00:00:27 -07:00
mingw/pkg-support/cmake
src Update SDL_windowswindow.c (#6225) 2022-09-13 12:43:16 -07:00
test Allow mapping a controller other than the first one 2022-09-07 01:58:42 -07:00
VisualC
VisualC-GDK
VisualC-WinRT
visualtest
wayland-protocols
Xcode fix DYLIB version inconsistencies and test failures after #6188. 2022-09-06 03:15:02 +03:00
Xcode-iOS
.clang-format
.editorconfig
.gitignore
.wikiheaders-options
Android.mk
autogen.sh
BUGS.txt
cmake_uninstall.cmake.in
CMakeLists.txt vita: Drop memcmp redirect to sceClibMemcmp. 2022-09-12 13:32:48 -07:00
configure regenerated configure script. 2022-09-12 20:20:04 +03:00
configure.ac configure.ac: fix configure tests broken with Clang 15 (implicit function declarations) 2022-09-12 10:07:56 -07:00
CREDITS.txt
INSTALL.txt
LICENSE.txt
Makefile.in
Makefile.minimal
Makefile.os2
Makefile.pandora
Makefile.w32
README-SDL.txt
README.md
sdl2-config-version.cmake.in
sdl2-config.cmake.in cmake: fix location of SDL2::SDL2test imported library 2022-09-05 21:53:50 +02:00
sdl2-config.in
sdl2.m4
sdl2.pc.in
SDL2.spec.in
SDL2Config.cmake.in
TODO.txt
WhatsNew.txt Added the hint SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED to control whether the player LED should be lit on the Nintendo Wii controllers 2022-09-01 16:30:55 -07:00

Simple DirectMedia Layer (SDL) Version 2.0

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting with README.md

Enjoy!

Sam Lantinga (slouken@libsdl.org)