Enhanced Raw Input 1.0
Enhanced Raw Input for Unreal Engine
Loading...
Searching...
No Matches
IEnhancedRawInput Class Reference

Interface for the Device Implementation. More...

#include <EnhancedRawInput.h>

Inheritance diagram for IEnhancedRawInput:
FEnhancedRawInputWindows

Public Member Functions

 IEnhancedRawInput (const TSharedRef< FGenericApplicationMessageHandler > &InMessageHandler)
virtual void SetBindings (const FString InterfaceName)
 Applies the key binding settings to the specified controller.
virtual void SetAxisBinding (const FString InterfaceName, const EHidAxisUseages AxisUsage, const FName KeyName)
 Binds a controller axis to a corresponding key.
virtual void SetButtonBinding (const FString InterfaceName, const int32 ButtonIndex, const FName KeyName)
 Binds a controller button to a corresponding key.
virtual void SetPovAxisBinding (const FString InterfaceName, const int32 PovIndex, FName KeyName)
 Binds a controller POV axis to a corresponding key.
virtual void SetPovButtonBinding (const FString InterfaceName, const int32 PovIndex, TArray< FName > KeyNames)
 Binds a controller POV to a corresponding keys.
FEnhancedRawInputDataDelegate & GetDataReceivedHandler ()
 Delegete for raw, unprocessed HID data.

Protected Attributes

TSharedRef< FGenericApplicationMessageHandler > MessageHandler
FEnhancedRawInputDataDelegate DataReceivedHandler

Detailed Description

Interface for the Device Implementation.

Member Function Documentation

◆ GetDataReceivedHandler()

FEnhancedRawInputDataDelegate & IEnhancedRawInput::GetDataReceivedHandler ( )
inline

Delegete for raw, unprocessed HID data.

Returns
The delegate for a data received handler

◆ SetAxisBinding()

virtual void IEnhancedRawInput::SetAxisBinding ( const FString InterfaceName,
const EHidAxisUseages AxisUsage,
const FName KeyName )
inlinevirtual

Binds a controller axis to a corresponding key.

Parameters
InterfaceNameInterface name of the controller
AxisUsageHID Usage for this axis
KeyNameName of the Key to be bound

Reimplemented in FEnhancedRawInputWindows.

◆ SetBindings()

virtual void IEnhancedRawInput::SetBindings ( const FString InterfaceName)
inlinevirtual

Applies the key binding settings to the specified controller.

Parameters
InterfaceNameInterface name of the controller

Reimplemented in FEnhancedRawInputWindows.

◆ SetButtonBinding()

virtual void IEnhancedRawInput::SetButtonBinding ( const FString InterfaceName,
const int32 ButtonIndex,
const FName KeyName )
inlinevirtual

Binds a controller button to a corresponding key.

Parameters
InterfaceNameInterface name of the controller
ButtonIndexIndex (0 based) of the button
KeyNameName of the Key to be bound

Reimplemented in FEnhancedRawInputWindows.

◆ SetPovAxisBinding()

virtual void IEnhancedRawInput::SetPovAxisBinding ( const FString InterfaceName,
const int32 PovIndex,
FName KeyName )
inlinevirtual

Binds a controller POV axis to a corresponding key.

Parameters
InterfaceNameInterface name of the controller
PovIndexIndex (0 based) of the POV
KeyNameName of the Key to be bound

Reimplemented in FEnhancedRawInputWindows.

◆ SetPovButtonBinding()

virtual void IEnhancedRawInput::SetPovButtonBinding ( const FString InterfaceName,
const int32 PovIndex,
TArray< FName > KeyNames )
inlinevirtual

Binds a controller POV to a corresponding keys.

Parameters
InterfaceNameInterface name of the controller
PovIndexIndex (0 based) of the POV
KeyNamesName of the Key to be bound

Reimplemented in FEnhancedRawInputWindows.


The documentation for this class was generated from the following files:
  • J:/Unreal/Plugins/UEEnhancedRawInput/Source/EnhancedRawInput/Public/EnhancedRawInput.h
  • J:/Unreal/Plugins/UEEnhancedRawInput/Source/EnhancedRawInput/Private/EnhancedRawInput.cpp