Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Rubberduckycooly
GitHub Repository: Rubberduckycooly/RSDKv5-Decompilation
Path: blob/master/RSDKv5/RSDK/Input/GLFW/GLFWInputDevice.hpp
1174 views
1
2
namespace SKU
3
{
4
5
struct InputDeviceGLFW : InputDevice {
6
void UpdateInput();
7
void ProcessInput(int32 controllerID);
8
void CloseDevice();
9
10
uint32 currentState;
11
GLFWgamepadstate states[2];
12
uint32 jid;
13
14
bool32 swapABXY;
15
};
16
17
InputDeviceGLFW *InitGLFWInputDevice(uint32 id, uint8 controllerID);
18
void InitGLFWInputAPI();
19
20
} // namespace SKU
21