The Black Friday Sale is here! Save up to 70% on select products now through December 2.

SDL2Input Device Plugin

WisE Digital Reality Lab - Nov 19, 2020

The SDL2InputDevice Code-plugin provides extended joystick and game controller support (5+ controllers) via the standard UE4 input subsystem.

  • Supported Platforms
  • Supported Engine Versions
    4.25
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

SDL2InputDevice provides a new UE4 input device that utilizes the Simple DirectMedia Layer (SDL2) library. This device can then be used to access or provide more advanced functionality than what is available in the engine by default. It was designed from the start to be as transparent to UE4 as possible. 

SDL2InputDevice is as its namesake suggests a new input device. This solution means that input is passed into the various game systems of UE4 through the existing input pipeline. With SDL2InputDevice, there is no need for hacky blueprint glue code or special processing

 

Technical Details

Features:

  •  Low level joystick and Game Controller support including all of the SDL2 Game Controller mappings
  •  Supports more than 4 controllers in a single session
  •  Utilizes the the existing UE4 input subsystem


Code Modules: (Please include a full list of each Plugin module and their module type (Runtime, Editor etc.))

  •  SDL2InputDevice


Number of Blueprints: 1 Blueprint Function Library with 9 functions

Number of C++ Classes: 2

Network Replicated: Yes

Supported Development Platforms: Win32, Win64

Supported Target Build Platforms: Win32, Win64

Documentation: https://www.wisengineering.com/downloads/SDL2InputDeviceDocumentation.pdf

Example Project: You can find a C++ and Blueprint Only example based on the Epic top-down-shooter starter kit on our GITHUB page here:https://github.com/JoeWilcox-WisEngineering/