play-u1 API
Preparing search index...
index
detectLayout
Function detectLayout
detectLayout
(
pad
:
Gamepad
)
:
LayoutProfile
Chooses
xboxLayout
for standard-mapped pads and known Xbox identifiers, otherwise
genericLayout
.
Parameters
pad
:
Gamepad
Returns
LayoutProfile
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
play-u1 API
Loading...
Chooses xboxLayout for standard-mapped pads and known Xbox identifiers, otherwise genericLayout.