Skip to content

Instantly share code, notes, and snippets.

View PsinaDev's full-sized avatar
🦴

PsinaDev

🦴
View GitHub Profile
@PsinaDev
PsinaDev / EnhancedInputBlueprintHelper.cpp
Last active October 4, 2025 15:49
A Blueprint function library for Unreal Engine that provides a simple way to bind a unified event delegate to Enhanced Input actions. It automatically routes all trigger events (Started, Triggered, Completed, Canceled, Ongoing) into a single Blueprint event pin. The UEnhancedInputComponent can be retrieved from a PlayerController using FindCompo…
#include "Utilities/EnhancedInputBlueprintHelper.h"
#include "Engine/World.h"
namespace BindingHelper
{
using FuncSig = UEnhancedInputBindingHelper::FHandler;
inline void AddEnhancedInputBinding(
UEnhancedInputComponent* EIC,
UInputAction* Action,