The devel/sdl2 port
sdl2-2.30.9p1 – 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/fluidsynth
- audio/furnace
- audio/libsmackerdec
- audio/milkytracker
- audio/ocp
- 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/smpeg2
- editors/litexl
- emulators/advancemame
- 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/ppsspp
- emulators/qemu
- emulators/retroarch
- emulators/sameboy
- emulators/snes9x
- emulators/stella
- emulators/vbam
- emulators/vice
- emulators/xnp21kai
- emulators/xroar
- games/0ad/base
- games/amnesia-tdd
- games/arx-libertatis
- games/billyfrontier
- games/blobby
- games/brogue
- games/bugdom
- games/bugdom2
- games/bzflag
- games/candycrisis
- games/chiaki
- games/choria
- games/cromagrally
- games/dhewm3
- games/easyrpg
- games/eduke32
- games/emptyclip
- games/endless-sky
- games/ezquake
- games/fna/faudio
- games/fna/fna3d
- games/fnaify-extralibs
- games/freeorion
- games/fs2open
- games/gzdoom
- games/ioquake3
- games/jag
- games/love/0.10
- games/love/11
- games/lugaru
- games/megaglest/base
- games/mightymike
- games/moonlight-qt
- games/nanosaur
- games/nanosaur2
- games/nblood
- games/openclonk
- games/openjazz
- games/openjk
- games/openmw
- games/openomf
- games/openra
- games/openrct2
- games/openttd
- games/ottomatic
- games/postal
- games/powder-toy
- games/quakespasm
- games/recoil-rts
- games/scummvm
- games/sdl-jstest
- games/speeddreams
- games/stone-soup
- games/supertuxkart
- games/taisei
- games/teeworlds
- games/tic80
- games/tome4
- games/uqm/uqm
- games/vkquake
- games/warzone2100
- games/wrath
- games/xonotic
- games/yquake2
- games/zelda3
- graphics/blender
- graphics/darktable
- graphics/decker
- graphics/ffmpeg
- graphics/grafx2
- graphics/imv
- graphics/krita
- graphics/libqrencode
- lang/hashlink
- multimedia/lebiniou
- multimedia/libde265
- multimedia/mlt7
- multimedia/mpv
- multimedia/shotcut
- net/lagrange
- x11/kde-plasma/plasma-desktop
- x11/qt5/qtgamepad
- x11/wxWidgets