Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ SetGamepadLayoutLegacy
Function
SetGamepadLayoutLegacy
engine/hid/src/hid.cpp:109–112 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
107
}
108
109
void SetGamepadLayoutLegacy(HGamepad gamepad, bool legacy)
110
{
111
gamepad->m_LayoutLegacy = legacy?1:0;
112
}
113
114
uint32_t GetGamepadButtonCount(HGamepad gamepad)
115
{
Callers
1
NewGamepadBinding
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected