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