Commit Graph

  • 7e005bd843 Fixed mapping the paddle buttons with the virtual controller Sam Lantinga 2022-05-16 06:22:18 -07:00
  • e3fd8feae6 Fixed getting the controller index when specifying --virtual (thanks @zturtleman) Sam Lantinga 2022-05-16 06:16:32 -07:00
  • 5953422c09 Sync wiki -> header SDL Wiki Bot 2022-05-16 03:52:04 +00:00
  • e78a72ec38 fnsince.pl: Fix next version value to match new versioning scheme. Ryan C. Gordon 2022-05-15 23:50:08 -04:00
  • bfac54b59c Added the ability to specify which buttons and axes are present for virtual controllers Sam Lantinga 2022-05-15 20:33:28 -07:00
  • 49ca8bf520 Sync wiki -> header SDL Wiki Bot 2022-05-16 03:03:04 +00:00
  • 94eeb587c1 First pass at extending virtual controller functionality Sam Lantinga 2022-05-15 20:01:12 -07:00
  • 7ad15c5b8f Added game controller support for virtual joysticks Sam Lantinga 2022-05-15 09:35:52 -07:00
  • 996b3dc37a Fixed warning building with Visual Studio Sam Lantinga 2022-05-15 09:33:28 -07:00
  • e0f3da497f Remove unused SDL_ASSEMBLY_ROUTINES define Cameron Cawley 2022-05-12 12:18:23 +01:00
  • f93e810780 Sync wiki -> header SDL Wiki Bot 2022-05-12 07:39:04 +00:00
  • 6b9884d40a Fixed bug #4213 - update documentation to reflect SDL2 behavior of SDL_RenderGetLogicalSize Sylvain 2022-05-12 09:36:49 +02:00
  • e4bb3c8649 wayland: Fix build for configs without libdecor Ethan Lee 2022-05-11 18:13:44 -04:00
  • 6222bd3143 wayland: Don't create a new libdecor context if one already exists Ethan Lee 2022-05-11 16:26:43 -04:00
  • 6f88cbe4c9 wayland: Support xdg_decoration requesting client-side decorations. Ethan Lee 2022-05-11 16:04:34 -04:00
  • d7866ffac8 assert: Check for integer overflow. Eddy Jansson 2022-05-11 19:39:30 +02:00
  • 737b4fc32c Added -fobjc-arc to support automatic reference counting on macOS Sam Lantinga 2022-05-11 11:17:58 -07:00
  • 9b75fa0165 N-Gage port: add changes from code reviews, overall cleanup (#5618) Michael Fitzmayer 2022-05-11 18:31:34 +02:00
  • 2c2cbbe664 Fixed function reference for SDL_SIMDGetAlignment() Sam Lantinga 2022-05-11 09:04:23 -07:00
  • 6da99d4a6c Don't use SDL_SIMDFree() if the pixels haven't been allocated with SDL_SIMDAlloc() Sam Lantinga 2022-05-11 08:40:17 -07:00
  • 2f924020e8 Add SDL_SCANCODE_CALL and SDL_SCANCODE_ENDCALL Cameron Cawley 2022-05-05 20:12:07 +01:00
  • 2bc373622b Add SDL_SCANCODE_SOFTLEFT and SDL_SCANCODE_SOFTRIGHT Cameron Cawley 2022-05-05 13:31:26 +01:00
  • f871c178b9 macOS: remove dead code for supporting 10.6 at runtime. Alex Szpakowski 2022-05-10 17:32:24 -03:00
  • 8ab3ae98f0 stdinc: Add a comment to clarify why inline functions are needed here Simon McVittie 2022-05-10 09:44:23 +01:00
  • f7280dcebb log: Check for integer overflow. Eddy Jansson 2022-05-10 14:52:14 +02:00
  • ec8fa57750 macOS: always use Objective-C ARC (automatic ref counting). Alex Szpakowski 2022-05-07 21:57:23 -03:00
  • d35c737f1c macOS: change min supported OS from 10.6 to 10.7. Alex Szpakowski 2022-05-07 21:38:48 -03:00
  • 6422a5d259 updated config.guess and config.sub from mainstream Ozkan Sezer 2022-05-10 07:33:32 +03:00
  • 2a7948016a cpuinfo: Check for overflow in SIMD allocation Simon McVittie 2022-05-09 14:58:51 +01:00
  • cf1daafa3f cpuinfo: Set padding to 0 if none is needed Simon McVittie 2022-05-09 18:48:46 +01:00
  • d15f6e379c test: Add a unit test for overflow detection Simon McVittie 2022-05-09 18:19:21 +01:00
  • f661654fad stdinc: Add overflow-checking add and multiply for size_t Simon McVittie 2022-05-09 14:36:27 +01:00
  • 6e6e425e23 workflows: Do the equivalent of Automake make distcheck Simon McVittie 2022-05-05 17:50:28 +01:00
  • c71ee68b8a Fix enabling tests on platforms without testnative support Cameron Cawley 2022-05-08 17:17:49 +01:00
  • 318b5577f9 Delete gcc-fat.sh Cameron Cawley 2022-05-08 20:59:10 +01:00
  • 9ef6885743 Fix MSVC ARM32 builds Cameron Cawley 2022-05-08 15:53:43 +01:00
  • b352b78345 Add 'static VCRT' cases to MSVC build matrix Frank Richter 2022-05-07 14:57:17 +02:00
  • 0e63b514d5 Don't define memcpy(), memset() when using static VC runtime. Frank Richter 2022-05-07 14:52:35 +02:00
  • 8cd908e0b9 Fixed building with Visual Studio 2013 Sam Lantinga 2022-05-06 10:51:55 -07:00
  • a3c1ca1fa1 Added support for the Backbone One guide button Sam Lantinga 2022-05-06 09:07:36 -07:00
  • 95f9c3cf0f Makefile.os2: add SDL_BUILD_???_VERSION defines to correct CFLAGS. Ozkan Sezer 2022-05-06 18:56:24 +03:00
  • 0c19602118 Applied 0004-Define-crt-macros.patch.txt from vcpkg ports Sam Lantinga 2022-05-06 07:59:36 -07:00
  • fa50597055 Simplified autogen.sh, thanks to @smcv for the tip Sam Lantinga 2022-05-05 11:54:00 -07:00
  • db36664f26 configure.ac: remove unnecessary AC_SUBST's added by commit 38ef678990 Ozkan Sezer 2022-05-05 18:55:02 +03:00
  • f0c870b908 Rebuilt configure from configure.ac changes Sam Lantinga 2022-05-05 08:19:10 -07:00
  • b03e08f376 configure.ac: Use Autoconf quadrigraphs for character set in AS_CASE Simon McVittie 2022-05-05 16:06:11 +01:00
  • c244bbc515 workflows: Install and run GNOME-style installed-tests Simon McVittie 2022-05-04 17:50:44 +01:00
  • ce502054ad test: Install GNOME-style installed-tests metadata Simon McVittie 2022-05-04 13:53:15 +01:00
  • 38ef678990 test: Add a make install target for the tests Simon McVittie 2020-11-25 13:30:29 +00:00
  • 76a7b629bf test: Add some common code to load test resources Simon McVittie 2022-04-12 13:07:18 +01:00
  • ecf1e15fec workflows: Parallelize Linux Autotools and CMake builds Simon McVittie 2022-05-04 19:31:11 +01:00
  • dba79ade59 workflows: Run build-time tests Simon McVittie 2022-05-04 13:57:30 +01:00
  • 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays Simon McVittie 2022-05-04 19:16:01 +01:00
  • 7d2808e30b test: Run selected noninteractive tests at build-time Simon McVittie 2022-04-12 13:33:58 +01:00
  • b299f74d05 test: Make testevdev succeed if the feature is disabled Simon McVittie 2022-05-04 15:34:41 +01:00
  • 6fc7aa28e7 cmake: Add some missing test-cases Simon McVittie 2022-05-04 13:15:12 +01:00
  • a459479769 workflows: Only run cmake --install on Unix platforms Simon McVittie 2022-05-04 18:13:25 +01:00
  • 79a16da61e workflows: Change how we make CMake verbose Simon McVittie 2022-05-04 18:14:22 +01:00
  • 4da47601be workflows: Remove redundant cmake --build Simon McVittie 2022-05-04 18:13:38 +01:00
  • 2a8297e427 workflows: Add a test to assert that all the version numbers agree Simon McVittie 2022-05-04 16:43:59 +01:00
  • fff97c95eb build: Mechanically generate ABI versions from version number Simon McVittie 2022-05-04 16:40:11 +01:00
  • 60d702ac74 docs: Document new versioning scheme Simon McVittie 2022-05-04 16:39:05 +01:00
  • cd7c2f1de7 Switch versioning scheme to be the same as GLib and Flatpak Simon McVittie 2022-05-03 15:16:11 +01:00
  • 63814ec767 Add static assertions that the version number is consistent Simon McVittie 2022-05-03 14:39:00 +01:00
  • 22002d9155 docs/release_checklist.md: Document how/where to bump version numbers Simon McVittie 2022-05-03 14:09:12 +01:00
  • d4b82bfa4c Add static assertions for version numbers' limits Simon McVittie 2022-05-03 13:17:59 +01:00
  • ba6f96275e Document SDL_VERSIONNUM as able to encode larger minor versions Simon McVittie 2022-05-03 13:17:41 +01:00
  • e0daa2a530 Deprecate SDL_COMPILEDVERSION and SDL_VERSIONNUM, to be removed in 3.x Simon McVittie 2022-05-03 13:08:38 +01:00
  • f9a5cf77b8 Make SDL_VERSION_ATLEAST future-proof against larger version numbers Simon McVittie 2022-05-03 13:05:02 +01:00
  • 50bc013695 workflows: Tell CMake and Makefile.in to show compiler command-lines Simon McVittie 2022-05-04 17:45:26 +01:00
  • b398a847be Add SDL_FLOATWORDORDER for older ARM toolchains Cameron Cawley 2022-05-03 23:21:10 +01:00
  • adac3bd1e2 video: restore ability to disable fb accel via hint Alexander Kanavin 2022-05-03 12:31:50 +02:00
  • 85a77fb5fa workflows: List files installed by CMake Simon McVittie 2022-05-03 20:22:48 +01:00
  • 90da399bbb workflows: Add a workflow to exercise the Autotools build on Linux Simon McVittie 2022-04-12 14:54:24 +01:00
  • 3f813cf1ef SDL_rawinputjoystick.c: fixed -Werror=declaration-after-statement Ozkan Sezer 2022-05-04 10:05:56 +03:00
  • 2021a10927 cmake: Defer test subproject until after defining install/uninstall Simon McVittie 2022-05-03 20:37:03 +01:00
  • db9e14e504 disabled linux joystick debugging outputs and reverted unnecessary comment edit atfrase 2022-01-31 13:55:37 -06:00
  • 3b53555bcf copied default Steam Controller mapping for wired and wireless-dongle USB pids atfrase 2022-01-28 14:53:28 -06:00
  • 13b1bf4f21 added default gamepad mapping for Steam Controller with new GUID (possibly caused by the firmware update to enable BLE?) atfrase 2022-01-28 13:31:08 -06:00
  • f7a19f9ea8 relaxed the digital hat deadzone slightly, and fixed typo in DEBUG_GAMEPAD_MAPPING define atfrase 2022-01-14 13:14:42 -06:00
  • 3696e23d09 added hints SDL_HINT_LINUX_DIGITAL_HATS and SDL_HINT_LINUX_HAT_DEADZONES to control the new Linux hat handling; added define DEBUG_GAMEPAD_MAPPINGS to log messages when generating default gamepad mapings for Linux joysticks atfrase 2022-01-14 10:45:16 -06:00
  • 0b8e796e2c added hueristic to differentiate digital vs analog 'hat' input axes and expose the latter as regular axes; added automatic deadzones to hat outputs, in case analog axes are still mapped to digital hats; updated automatic gamepad control mapping to more completely follow the spec atfrase 2022-01-12 22:00:46 -06:00
  • fbd230bb6c Add support for the Nokia N-Gage (#5597) Michael Fitzmayer 2022-05-03 17:51:49 +02:00
  • 3fcc2cb500 x11: get x1/x2 button state in GetGlobalMouseState emily 2022-05-03 11:19:39 +02:00
  • f25a78eede Enable SDL_TEXTEDITING_EXT events in checkkeys test Susko3 2022-05-03 00:40:42 +02:00
  • 6150245d65 Add new verbosity level for logging of SDL_SysWMEvents Susko3 2022-05-03 00:11:44 +02:00
  • d1a3981bf8 Fix crash when reading background events for MFi controllers on macOS Daniel Brookman 2022-05-02 15:22:46 -04:00
  • bb0b6dd42e Fixed using WGI without XInput Jan200101 2022-05-02 20:12:13 +02:00
  • 5394238cdc Don't include the internal header for a file intended for use by applications Sam Lantinga 2022-04-30 11:40:26 -07:00
  • 41b9198515 Fixed Xcode warning about Framework include style Sam Lantinga 2022-04-30 11:39:44 -07:00
  • 829f6b3d7d These headers are system headers, not local headers Sam Lantinga 2022-04-30 11:32:04 -07:00
  • 0687128c96 Reduce CPU usage in testgamecontroller Sam Lantinga 2022-04-29 20:57:00 -07:00
  • 9e5cbf034a Disallow non-positive allocation. Eddy Jansson 2022-04-29 22:36:12 +02:00
  • f81419702e Document that SDL_MAX_LOG_MESSAGE is no longer meaningful Sam Lantinga 2022-04-29 11:28:59 -07:00
  • 6c2928b4be Switch uses of MIN() to SDL_min() Eddy Jansson 2022-04-29 19:30:47 +02:00
  • ca26df3404 assert: Allow messages of any length. Eddy Jansson 2022-04-29 16:44:32 +02:00
  • 888899244c log: Allow log messages of any length. Eddy Jansson 2022-04-29 16:30:30 +02:00
  • 645db217a0 log: Use malloc for long messages. Eddy Jansson 2022-04-29 14:06:05 +02:00
  • 73448fe245 assert: Remove use of alloca() Eddy Jansson 2022-04-29 14:05:15 +02:00
  • 97774cdf72 Move in va_copy() define block from stdlib. Eddy Jansson 2022-04-29 14:01:03 +02:00