|   | fc73386f | 2022-10-12T21:44:50 |  | Fixed the mapping from raw joystick values to the expected [SDL_JOYSTICK_AXIS_MIN, SDL_JOYSTICK_AXIS_MAX] range. (thanks Tas!)
The original code mapped incorrectly from [min, max] to [-32768, 32512], the upper bound being SDL_JOYSTICK_AXIS_MAX - 255 instead of SDL_JOYSTICK_AXIS_MAX. | 
            
              |   | 1153aaae | 2022-08-29T00:15:56 |  | Fixed compiling with USB_GET_DEVICEINFO on DragonFly BSD
Although the ioctl() currently fails on this platform... | 
            
              |   | 57cbec10 | 2022-08-28T23:18:40 |  | Added controller mappings for Xbox 360, PS4, and PS5 controllers on OpenBSD
Removed the axis flipping hack for Xbox controllers which would actually apply to any controller with a full 16-bit range.
Fixes https://github.com/libsdl-org/SDL/issues/6143 | 
            
              |   | 761b9d1e | 2022-08-28T22:33:17 |  | Use the HID usage for the button as the button number | 
            
              |   | a9d3935a | 2022-08-28T18:17:50 |  | Improved code to get the name and guid for joysticks on OpenBSD and NetBSD
Also dynamically allocate joysticks to reduce static memory usage | 
            
              |   | 4a800ae1 | 2022-08-28T16:11:12 |  | Created a consolidated define enabling BSD gameport joystick support | 
            
              |   | 42f90c62 | 2022-08-28T16:01:03 |  | Removed unused path variable | 
            
              |   | 0db18130 | 2022-08-28T07:27:01 |  | Applied OpenBSD patch
http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/devel/sdl2/patches/patch-src_joystick_bsd_SDL_bsdjoystick_c?rev=1.5&content-type=text/plain&hideattic=1 | 
            
              |   | b188a916 | 2022-08-27T09:46:28 |  | Fixed uhid device name for non-OpenBSD platforms | 
            
              |   | 3f93ec47 | 2022-08-26T20:52:56 |  | Add support for OpenBSD's ujoy(4) | 
            
              |   | 277b033e | 2022-08-22T19:28:21 |  | Refactor joystick GUID creation | 
            
              |   | c1e08739 | 2022-08-22T16:46:55 |  | Added the CRC of the joystick name to the GUID
This will make it possible to have mappings for different controllers
that have the same VID/PID. This happens frequently with some generic
controller boards that have been reused in many products.
Fixes https://github.com/libsdl-org/SDL/issues/6004 | 
            
              |   | e551384a | 2022-04-26T14:54:14 |  | Added functions to get the platform dependent name for a joystick or game controller | 
            
              |   | 120c76c8 | 2022-01-03T09:40:00 |  | Updated copyright for 2022 | 
            
              |   | 6fb50bd0 | 2021-11-22T11:16:23 |  | Don't use "exp" as a name so that it's doesn´t  show up with searching for the function | 
            
              |   | 1ccfbf96 | 2021-11-11T11:13:08 |  | joystick: Convert HasLED() into a generic GetCapabilities() function | 
            
              |   | 08ae7904 | 2021-09-14T20:38:03 |  | Replace calls to asprintf with SDL_asprintf | 
            
              |   | bf97c5a2 | 2021-09-08T14:47:40 |  | Make sure SDL file descriptors don't leak into child processes | 
            
              |   | d135c076 | 2021-07-08T13:22:41 |  | Added SDL_GameControllerSendEffect() and SDL_JoystickSendEffect() to allow applications to send custom effects to the PS4 and PS5 controllers
See testgamecontroller.c for an example of a custom PS5 trigger effect | 
            
              |   | 23764588 | 2021-01-23T17:24:28 |  | renamed SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H to SDL_HAVE_MACHINE_JOYSTICK_H | 
            
              |   | 9130f7c3 | 2021-01-02T10:25:38 |  | Updated copyright for 2021 | 
            
              |   | ee180efd | 2020-12-20T12:08:49 |  | Fixed bug 5406 - Upstreaming DragonFlyBSD changes from DeltaPorts (patch from David Carlier) | 
            
              |   | 34bea84a | 2020-11-23T23:03:55 |  | Fixed bug 5335 - Patch: enable joystick/haptic/evdev support by default on FreeBSD
Alex S
Ah, that's not quite enough. You need to:
  1. rename src/joystick/bsd/SDL_sysjoystick.c to something;
  2. regenerate configure. |