Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Rubberduckycooly
GitHub Repository: Rubberduckycooly/RSDKv5-Decompilation
Path: blob/master/RSDKv5/RSDK/Input/NX/NXInputDevice.hpp
1171 views
1
2
namespace SKU
3
{
4
5
struct InputDeviceNX : InputDevice {
6
void ProcessInput(int32 controllerID);
7
8
int64 buttonMasks;
9
float hDelta_L;
10
float hDelta_R;
11
float vDelta_L;
12
float vDelta_R;
13
HidNpadIdType npadType;
14
};
15
16
struct InputDeviceNXHandheld : InputDeviceNX {
17
void UpdateInput();
18
};
19
20
struct InputDeviceNXJoyL : InputDeviceNX {
21
void UpdateInput();
22
};
23
24
struct InputDeviceNXJoyR : InputDeviceNX {
25
void UpdateInput();
26
};
27
28
struct InputDeviceNXJoyGrip : InputDeviceNX {
29
void UpdateInput();
30
};
31
32
struct InputDeviceNXPro : InputDeviceNX {
33
void UpdateInput();
34
};
35
36
extern int32 currentNXControllerType;
37
38
InputDeviceNXHandheld *InitNXHandheldInputDevice(uint32 id, HidNpadIdType type);
39
InputDeviceNXJoyL *InitNXJoyLInputDevice(uint32 id, HidNpadIdType type);
40
InputDeviceNXJoyR *InitNXJoyRInputDevice(uint32 id, HidNpadIdType type);
41
InputDeviceNXJoyGrip *InitNXJoyGripInputDevice(uint32 id, HidNpadIdType type);
42
InputDeviceNXPro *InitNXProInputDevice(uint32 id, HidNpadIdType type);
43
44
void InitNXInputAPI();
45
void ProcessNXInputDevices();
46
47
} // namespace SKU
48