terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
GUIControllerHardwareProfileEntry Class Reference
+ Inheritance diagram for GUIControllerHardwareProfileEntry:
+ Collaboration diagram for GUIControllerHardwareProfileEntry:

Public Types

enum  BindingId {
  LeftStickUp , LeftStickDown , LeftStickLeft , LeftStickRight ,
  RightStickUp , RightStickDown , RightStickLeft , RightStickRight ,
  DPadUp , DPadDown , DPadLeft , DPadRight ,
  Action1 , Action2 , Action3 , Action4 ,
  Options , Switch , LeftShoulder , LeftTrigger ,
  LeftStickClick , RightShoulder , RightTrigger , RightStickClick ,
  Count
}
 

Public Member Functions

 GUIControllerHardwareProfileEntry (GUIControllerHardwareProfileEntry.BindingId id, ControllerDevice device)
 
void CloseOptions ()
 
override void DrawOverlay ()
 
void RemoveBinding ()
 
override void Draw ()
 
override float GetElementHeight ()
 

Public Attributes

new readonly GUIControllerHardwareProfileEntry.BindingId _id
 
InputControlMapping Binding
 
bool displayOptions
 
new KeyboardMappingsCategories_Layout.Category Category
 
new int SortOrder
 
int _sortId
 
SettingsOverlayOptionCategories_Layout.Category _category
 

Properties

bool HasMapping [get, set]
 

Private Member Functions

string GetMappingName ()
 
InputControlType GetMappingType ()
 
void RemapToAnalogue (int index, float restingValue, float usedValue)
 
void RemapToButton (int index)
 
Microsoft.Xna.Framework.Graphics.Texture2D GetTexure (out Rectangle buttonRegion)
 
bool IsOverOptions (Microsoft.Xna.Framework.Vector2 cursorPosition)
 

Static Private Member Functions

static GUIControllerHardwareProfileEntry ()
 

Private Attributes

readonly ControllerDevice _device
 
float buttonScale
 
float scale
 
bool drawingOverlay
 
GUIInputRegionExclusive _optionsBlocker
 

Static Private Attributes

static int LastButtonMapped
 
const float inputTollerance = 0.1f
 
static float[] InitialInputRange
 

Detailed Description

Definition at line 15 of file GUIControllerHardwareProfileEntry.cs.


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