The devel/sdl2 port
sdl2-2.32.10p1 – cross-platform multimedia library (cvsweb github mirror)
Description
Simple DirectMedia Layer is a cross-platform multimedia library designed to provide fast access to the graphics framebuffer and audio device. It is used by MPEG playback software, emulators, and many popular games.WWW: https://www.libsdl.org/
Readme
+-----------------------------------------------------------------------
| Customizing ${PKGSTEM} gamecontroller layout on OpenBSD
+-----------------------------------------------------------------------
The mapping for SDL2's gamecontroller API is currently based on a workaround.
It defaults to:
"none,X360 Wireless Controller,a:b0,b:b1,back:b6,dpdown:b14,dpleft:b11,\
dpright:b12,dpup:b13,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,\
leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,\
righty:a4,start:b7,x:b2,y:b3,"
A custom mapping can be used via the SDL_GAMECONTROLLERCONFIG env var. Note
that the first value (for guid) should be 'none' and the second one can be any
name under which SDL2 will list the gamecontroller device.
Example mapping (for Logitech Dual Action gamepad):
$ export SDL_GAMECONTROLLERCONFIG="none,X360WirelessController,a:b1,b:b2,\
back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,\
leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,\
righttrigger:b7,rightx:a2,righty:a3,start:b9,x:b0,y:b3,"
Maintainer
Thomas Frohwein
Categories
Library dependencies
Build dependencies
Reverse dependencies
- archivers/zziplib
- audio/adplay
- audio/audiality2
- audio/furnace
- audio/libsmackerdec
- audio/milkytracker
- audio/schismtracker
- audio/sdl2-audiolib
- comms/syncterm
- devel/sdl2-gfx
- devel/sdl2-image
- devel/sdl2-mixer
- devel/sdl2-net
- devel/sdl2-pango
- devel/sdl2-ttf
- devel/sdl3
- devel/smpeg2
- emulators/advancemame
- emulators/atari800
- emulators/bochs
- emulators/citra
- emulators/desmume
- emulators/dolphin
- emulators/dosbox-x
- emulators/emulationstation
- emulators/es-de
- emulators/fceux
- emulators/flycast
- emulators/fs-uae
- emulators/fuse
- emulators/hatari
- emulators/mame
- emulators/mednafen
- emulators/melonds
- emulators/mgba
- emulators/mupen64plus/audio-sdl
- emulators/mupen64plus/core
- emulators/mupen64plus/input-sdl
- emulators/mupen64plus/ui-console
- emulators/mupen64plus/video-glide64
- emulators/mupen64plus/video-glide64mk2
- emulators/mupen64plus/video-rice
- emulators/mupen64plus/video-z64
- emulators/nestopia
- emulators/openmsx
- emulators/qemu
- emulators/retroarch
- emulators/sameboy
- emulators/snes9x
- emulators/stella
- emulators/vice
- emulators/xnp21kai
- emulators/xroar
- games/0ad/base
- games/amnesia-tdd
- games/arx-libertatis
- games/astromenace
- games/billyfrontier
- games/blobby
- games/brogue
- games/bugdom
- games/bugdom2
- games/bzflag
- games/candycrisis
- games/chiaki
- games/cromagrally
- games/dhewm3
- games/easyrpg
- games/eduke32
- games/endless-sky
- games/ezquake
- games/fallout1-ce
- games/fallout2-ce
- games/fnaify-extralibs
- games/freeorion
- games/freesynd
- games/fs2open
- games/gzdoom
- games/ioquake3
- games/jag
- games/love/0.10
- games/love/11
- games/luanti
- games/lugaru
- games/lzdoom
- games/megaglest/base
- games/mightymike
- games/moonlight-qt
- games/nanosaur
- games/nanosaur2
- games/nblood
- games/openclonk
- games/openjazz
- games/openjk
- games/openmw
- games/openra
- games/openrct2
- games/openttd
- games/ottomatic
- games/postal
- games/powder-toy
- games/quakespasm
- games/recoil-rts
- games/renpy
- games/scummvm
- games/sdl-jstest
- games/sdl-sopwith
- games/speeddreams
- games/stone-soup
- games/stratagus
- games/supertuxkart
- games/teeworlds
- games/tic80
- games/tome4
- games/uqm/uqm
- games/vectoroids
- games/vegastrike/engine
- games/vvvvvv
- games/warzone2100
- games/wrath
- games/xonotic
- games/zelda3
- graphics/blender
- graphics/darktable
- graphics/decker
- graphics/ffmpeg
- graphics/grafx2
- graphics/imv
- graphics/krita
- graphics/libqrencode
- lang/hashlink
- multimedia/lebiniou
- multimedia/libcamera
- multimedia/libde265
- multimedia/movit
- multimedia/shotcut
- net/lagrange
- x11/agar/agar
- x11/agar/test
- x11/kde-plasma/plasma-desktop
- x11/qt5/qtgamepad
- x11/wxWidgets
Files
- /usr/local/bin/sdl2-config
- /usr/local/include/SDL2/
- /usr/local/include/SDL2/SDL.h
- /usr/local/include/SDL2/SDL_assert.h
- /usr/local/include/SDL2/SDL_atomic.h
- /usr/local/include/SDL2/SDL_audio.h
- /usr/local/include/SDL2/SDL_bits.h
- /usr/local/include/SDL2/SDL_blendmode.h
- /usr/local/include/SDL2/SDL_clipboard.h
- /usr/local/include/SDL2/SDL_config.h
- /usr/local/include/SDL2/SDL_cpuinfo.h
- /usr/local/include/SDL2/SDL_egl.h
- /usr/local/include/SDL2/SDL_endian.h
- /usr/local/include/SDL2/SDL_error.h
- /usr/local/include/SDL2/SDL_events.h
- /usr/local/include/SDL2/SDL_filesystem.h
- /usr/local/include/SDL2/SDL_gamecontroller.h
- /usr/local/include/SDL2/SDL_gesture.h
- /usr/local/include/SDL2/SDL_guid.h
- /usr/local/include/SDL2/SDL_haptic.h
- /usr/local/include/SDL2/SDL_hidapi.h
- /usr/local/include/SDL2/SDL_hints.h
- /usr/local/include/SDL2/SDL_joystick.h
- /usr/local/include/SDL2/SDL_keyboard.h
- /usr/local/include/SDL2/SDL_keycode.h
- /usr/local/include/SDL2/SDL_loadso.h
- /usr/local/include/SDL2/SDL_locale.h
- /usr/local/include/SDL2/SDL_log.h
- /usr/local/include/SDL2/SDL_main.h
- /usr/local/include/SDL2/SDL_messagebox.h
- /usr/local/include/SDL2/SDL_metal.h
- /usr/local/include/SDL2/SDL_misc.h
- /usr/local/include/SDL2/SDL_mouse.h
- /usr/local/include/SDL2/SDL_mutex.h
- /usr/local/include/SDL2/SDL_name.h
- /usr/local/include/SDL2/SDL_opengl.h
- /usr/local/include/SDL2/SDL_opengl_glext.h
- /usr/local/include/SDL2/SDL_opengles.h
- /usr/local/include/SDL2/SDL_opengles2.h
- /usr/local/include/SDL2/SDL_opengles2_gl2.h
- /usr/local/include/SDL2/SDL_opengles2_gl2ext.h
- /usr/local/include/SDL2/SDL_opengles2_gl2platform.h
- /usr/local/include/SDL2/SDL_opengles2_khrplatform.h
- /usr/local/include/SDL2/SDL_pixels.h
- /usr/local/include/SDL2/SDL_platform.h
- /usr/local/include/SDL2/SDL_power.h
- /usr/local/include/SDL2/SDL_quit.h
- /usr/local/include/SDL2/SDL_rect.h
- /usr/local/include/SDL2/SDL_render.h
- /usr/local/include/SDL2/SDL_revision.h
- /usr/local/include/SDL2/SDL_rwops.h
- /usr/local/include/SDL2/SDL_scancode.h
- /usr/local/include/SDL2/SDL_sensor.h
- /usr/local/include/SDL2/SDL_shape.h
- /usr/local/include/SDL2/SDL_stdinc.h
- /usr/local/include/SDL2/SDL_surface.h
- /usr/local/include/SDL2/SDL_system.h
- /usr/local/include/SDL2/SDL_syswm.h
- /usr/local/include/SDL2/SDL_test.h
- /usr/local/include/SDL2/SDL_test_assert.h
- /usr/local/include/SDL2/SDL_test_common.h
- /usr/local/include/SDL2/SDL_test_compare.h
- /usr/local/include/SDL2/SDL_test_crc32.h
- /usr/local/include/SDL2/SDL_test_font.h
- /usr/local/include/SDL2/SDL_test_fuzzer.h
- /usr/local/include/SDL2/SDL_test_harness.h
- /usr/local/include/SDL2/SDL_test_images.h
- /usr/local/include/SDL2/SDL_test_log.h
- /usr/local/include/SDL2/SDL_test_md5.h
- /usr/local/include/SDL2/SDL_test_memory.h
- /usr/local/include/SDL2/SDL_test_random.h
- /usr/local/include/SDL2/SDL_thread.h
- /usr/local/include/SDL2/SDL_timer.h
- /usr/local/include/SDL2/SDL_touch.h
- /usr/local/include/SDL2/SDL_types.h
- /usr/local/include/SDL2/SDL_version.h
- /usr/local/include/SDL2/SDL_video.h
- /usr/local/include/SDL2/SDL_vulkan.h
- /usr/local/include/SDL2/begin_code.h
- /usr/local/include/SDL2/close_code.h
- /usr/local/lib/cmake/
- /usr/local/lib/cmake/SDL2/
- /usr/local/lib/cmake/SDL2/sdl2-config-version.cmake
- /usr/local/lib/cmake/SDL2/sdl2-config.cmake
- /usr/local/lib/libSDL2.a
- /usr/local/lib/libSDL2.la
- /usr/local/lib/libSDL2.so.0.15
- /usr/local/lib/libSDL2_test.a
- /usr/local/lib/libSDL2_test.la
- /usr/local/lib/libSDL2main.a
- /usr/local/lib/libSDL2main.la
- /usr/local/lib/pkgconfig/sdl2.pc
- /usr/local/share/aclocal/
- /usr/local/share/aclocal/sdl2.m4
- /usr/local/share/doc/pkg-readmes/sdl2