Stardew Engine
Loading...
Searching...
No Matches
InputMapping Struct Reference

#include <InputContext.h>

Data Fields

InputMappingType type
 
char * name
 
union { 
 
   struct { 
 
      ButtonSubType   type 
 
      bool   bCurrent 
 
      bool   bPressThisFrame 
 
      bool   bReleaseThisFrame 
 
      union { 
 
         struct { 
 
            int   keyboadCode 
 
         }   keyboard 
 
         struct { 
 
            int   button 
 
         }   mouseBtn 
 
         struct { 
 
            int   button 
 
         }   gamepadBtn 
 
         struct { 
 
            WhichAxis   axis 
 
            WhichDirection   dir 
 
         }   mouseScrollButton 
 
      }   data 
 
   }   ButtonMapping 
 
   struct { 
 
      AxisSubType   type 
 
      double   fCurrent 
 
      union { 
 
         struct { 
 
            WhichAxis   axis 
 
         }   mouse 
 
         struct { 
 
            ControllerAxisType   type 
 
            WhichAxis   axis 
 
         }   controller 
 
         struct { 
 
            WhichAxis   axis 
 
         }   mouseScroll 
 
      }   data 
 
   }   axisMapping 
 
data 
 

Field Documentation

◆ axis

WhichAxis InputMapping::axis

◆ [struct]

struct { ... } InputMapping::axisMapping

◆ bCurrent

bool InputMapping::bCurrent

◆ bPressThisFrame

bool InputMapping::bPressThisFrame

◆ bReleaseThisFrame

bool InputMapping::bReleaseThisFrame

◆ button

int InputMapping::button

◆ [struct]

struct { ... } InputMapping::ButtonMapping

◆ [struct]

struct { ... } InputMapping::controller

◆ [union] [1/3]

union { ... } InputMapping::data

◆ [union] [2/3]

union { ... } InputMapping::data

◆ [union] [3/3]

union { ... } InputMapping::data

◆ dir

WhichDirection InputMapping::dir

◆ fCurrent

double InputMapping::fCurrent

◆ [struct]

struct { ... } InputMapping::gamepadBtn

◆ keyboadCode

int InputMapping::keyboadCode

◆ [struct]

struct { ... } InputMapping::keyboard

◆ [struct]

struct { ... } InputMapping::mouse

◆ [struct]

struct { ... } InputMapping::mouseBtn

◆ [struct]

struct { ... } InputMapping::mouseScroll

◆ [struct]

struct { ... } InputMapping::mouseScrollButton

◆ name

char* InputMapping::name

◆ type [1/4]

InputMappingType InputMapping::type

◆ type [2/4]

ButtonSubType InputMapping::type

◆ type [3/4]

AxisSubType InputMapping::type

◆ type [4/4]

ControllerAxisType InputMapping::type

The documentation for this struct was generated from the following file: