EventGamepadAnalog

EventGamepadAnalog

Creates gamepad analog events.

Constructor

new EventGamepadAnalog($type, $code, $value)

Description:
  • Creates a new gamepad analog event.
Source:
Example
const event = new EventGamepadAnalog(type, code, value);
Parameters:
Name Type Description
$type 'gamepadanalog' The event type.
$code string The event code.
$value number The analog value.

Members

code :string

Description:
  • Gets the event code.
Source:
Gets the event code.
Type:
  • string

value :number

Description:
  • Gets the analog value.
Source:
Gets the analog value.
Type:
  • number