input-device-handler - v9.0.1
Preparing search index...
gamepadToCurrentInputs
Function gamepadToCurrentInputs
gamepadToCurrentInputs
(
gamepad
:
Readonly
<
SerializedGamepad
>
,
)
:
Record
<
string
,
Readonly
<
{
details
:
Readonly
<
Readonly
<
{
inputName
:
string
;
inputType
:
DeviceInputType
;
value
:
number
}
,
>
,
>
;
deviceKey
:
GamepadInputDeviceKey
;
deviceName
:
string
;
deviceType
:
InputDeviceType
;
inputName
:
string
;
inputValue
:
number
;
}
,
>
,
>
Read and serialize all current inputs from all gamepads.
Parameters
gamepad
:
Readonly
<
SerializedGamepad
>
Returns
Record
<
string
,
Readonly
<
{
details
:
Readonly
<
Readonly
<
{
inputName
:
string
;
inputType
:
DeviceInputType
;
value
:
number
}
,
>
,
>
;
deviceKey
:
GamepadInputDeviceKey
;
deviceName
:
string
;
deviceType
:
InputDeviceType
;
inputName
:
string
;
inputValue
:
number
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
input-device-handler - v9.0.1
Loading...
Read and serialize all current inputs from all gamepads.