terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
XInputWindowsNativeProfile.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
InControl.NativeDeviceProfiles
4
{
5
// Token: 0x020001E7 RID: 487
6
[
Preserve
]
7
[
NativeInputDeviceProfile
]
8
public
class
XInputWindowsNativeProfile
:
InputDeviceProfile
9
{
10
// Token: 0x0600085B RID: 2139 RVA: 0x00027568 File Offset: 0x00025768
11
public
override
void
Define
()
12
{
13
base
.Define();
14
this.deviceName
=
"XInput Controller"
;
15
this.deviceNotes
=
"XInput Controller on Windows"
;
16
if
(
"Windows"
==
null
||
"Windows"
!=
null
)
17
{
18
OptionalInputDeviceDriverType
optionalInputDeviceDriverType
=
InputDeviceDriverType
.XInput;
19
if
(
"A"
==
null
)
20
{
21
}
22
InputControlSource
inputControlSource
=
InputDeviceProfile
.
Button
(10);
23
InputControlSource
inputControlSource2
=
InputDeviceProfile
.
Button
(11);
24
InputControlSource
inputControlSource3
=
InputDeviceProfile
.
Button
(12);
25
InputControlSource
inputControlSource4
=
InputDeviceProfile
.
Button
(13);
26
InputControlSource
inputControlSource5
=
InputDeviceProfile
.
Button
(0);
27
InputControlSource
inputControlSource6
=
InputDeviceProfile
.
Button
(1);
28
InputControlSource
inputControlSource7
=
InputDeviceProfile
.
Button
(2);
29
InputControlSource
inputControlSource8
=
InputDeviceProfile
.
Button
(3);
30
InputControlSource
inputControlSource9
=
InputDeviceProfile
.
Button
(8);
31
if
(
InputDeviceProfile
.
Button
(9) !=
null
)
32
{
33
InputControlSource
inputControlSource10
=
InputDeviceProfile
.
Button
(6);
34
InputControlSource
inputControlSource11
=
InputDeviceProfile
.
Button
(7);
35
InputControlSource
inputControlSource12
=
InputDeviceProfile
.
Button
(5);
36
InputControlSource
inputControlSource13
=
InputDeviceProfile
.
Button
(4);
37
InputControlMapping
inputControlMapping
=
InputDeviceProfile
.
LeftStickLeftMapping
(0);
38
if
(
inputControlMapping
==
null
||
inputControlMapping
!=
null
)
39
{
40
InputControlMapping
inputControlMapping2
=
InputDeviceProfile
.
LeftStickRightMapping
(0);
41
if
(
inputControlMapping2
==
null
||
inputControlMapping2
!=
null
)
42
{
43
InputControlMapping
inputControlMapping3
=
InputDeviceProfile
.
LeftStickUpMapping2
(1);
44
if
(
inputControlMapping3
==
null
||
inputControlMapping3
!=
null
)
45
{
46
InputControlMapping
inputControlMapping4
=
InputDeviceProfile
.
LeftStickDownMapping2
(1);
47
if
(
inputControlMapping4
==
null
||
inputControlMapping4
!=
null
)
48
{
49
InputControlMapping
inputControlMapping5
=
InputDeviceProfile
.
RightStickLeftMapping
(2);
50
if
(
inputControlMapping5
==
null
||
inputControlMapping5
!=
null
)
51
{
52
InputControlMapping
inputControlMapping6
=
InputDeviceProfile
.
RightStickRightMapping
(2);
53
if
(
inputControlMapping6
==
null
||
inputControlMapping6
!=
null
)
54
{
55
InputControlMapping
inputControlMapping7
=
InputDeviceProfile
.
RightStickUpMapping2
(3);
56
if
(
inputControlMapping7
==
null
||
inputControlMapping7
!=
null
)
57
{
58
InputControlMapping
inputControlMapping8
=
InputDeviceProfile
.
RightStickDownMapping2
(3);
59
if
(
inputControlMapping8
==
null
||
inputControlMapping8
!=
null
)
60
{
61
InputControlSource
inputControlSource14
=
InputDeviceProfile
.
Analog
(4);
62
InputControlSource
inputControlSource15
=
InputDeviceProfile
.
Analog
(5);
63
return
;
64
}
65
}
66
}
67
}
68
}
69
}
70
}
71
}
72
}
73
}
74
throw
new
ArrayTypeMismatchException
();
75
}
76
77
// Token: 0x0600085C RID: 2140 RVA: 0x000276C4 File Offset: 0x000258C4
78
public
XInputWindowsNativeProfile
()
79
{
80
if
(!
true
)
81
{
82
}
83
base
..ctor();
84
}
85
}
86
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
InControl.InputControlMapping
Definition
InputControlMapping.cs:9
InControl.InputDeviceProfile.RightStickLeftMapping
static InputControlMapping RightStickLeftMapping(int analog)
Definition
InputDeviceProfile.cs:684
InControl.InputDeviceProfile.RightStickDownMapping2
static InputControlMapping RightStickDownMapping2(int analog)
Definition
InputDeviceProfile.cs:819
InControl.InputDeviceProfile.LeftStickRightMapping
static InputControlMapping LeftStickRightMapping(int analog)
Definition
InputDeviceProfile.cs:549
InControl.InputDeviceProfile.RightStickRightMapping
static InputControlMapping RightStickRightMapping(int analog)
Definition
InputDeviceProfile.cs:711
InControl.InputDeviceProfile.LeftStickDownMapping2
static InputControlMapping LeftStickDownMapping2(int analog)
Definition
InputDeviceProfile.cs:657
InControl.InputDeviceProfile.RightStickUpMapping2
static InputControlMapping RightStickUpMapping2(int analog)
Definition
InputDeviceProfile.cs:792
InControl.InputDeviceProfile.LeftStickLeftMapping
static InputControlMapping LeftStickLeftMapping(int analog)
Definition
InputDeviceProfile.cs:522
InControl.InputDeviceProfile.LeftStickUpMapping2
static InputControlMapping LeftStickUpMapping2(int analog)
Definition
InputDeviceProfile.cs:630
InControl.InputDeviceProfile.Analog
static InputControlSource Analog(int index)
Definition
InputDeviceProfile.cs:516
InControl.InputDeviceProfile.Button
static InputControlSource Button(int index)
Definition
InputDeviceProfile.cs:510
InControl.InputDeviceProfile
Definition
InputDeviceProfile.cs:13
InControl.NativeDeviceProfiles.XInputWindowsNativeProfile.Define
override void Define()
Definition
XInputWindowsNativeProfile.cs:11
InControl.NativeDeviceProfiles.XInputWindowsNativeProfile.XInputWindowsNativeProfile
XInputWindowsNativeProfile()
Definition
XInputWindowsNativeProfile.cs:78
InControl.NativeDeviceProfiles.XInputWindowsNativeProfile
Definition
XInputWindowsNativeProfile.cs:9
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
InControl.NativeDeviceProfiles
Definition
AfterglowXbox360WindowsNativeProfile.cs:4
InControl.InputDeviceDriverType
InputDeviceDriverType
Definition
InputDeviceDriverType.cs:8
System.Xml.Schema.XmlSchemaWhiteSpace.Preserve
@ Preserve
System
Definition
__ComObject.cs:4
InControl.InputControlSource
Definition
InputControlSource.cs:10
InControl.OptionalInputDeviceDriverType
Definition
OptionalInputDeviceDriverType.cs:10
source
InControl
NativeDeviceProfiles
XInputWindowsNativeProfile.cs
Generated by
1.10.0