diff --git a/README.md b/README.md index b13bfe0..a186019 100644 --- a/README.md +++ b/README.md @@ -580,7 +580,7 @@ List of features: * it works through gamepad cores, that specify how the buttons are activated (keyboard, mouse, gamepads) * example: ```js - PP.myLeftGamepad.registerButtonEventListener(PP.GamepadButtonID.THUMBSTICK, PP.ButtonEvent.PRESS_START, this, this._thumbstickPressStart.bind(this)); + PP.myLeftGamepad.registerButtonEventListener(PP.GamepadButtonID.THUMBSTICK, PP.GamepadButtonEvent.PRESS_START, this, this._thumbstickPressStart.bind(this)); PP.myRightGamepad.getButtonInfo(PP.GamepadButtonID.TOP_BUTTON).isTouchEnd(); PP.myLeftGamepad.getButtonInfo(PP.GamepadButtonID.SQUEEZE).isPressStart(2); // fast pressed 2 times PP.myGamepads[PP.Handedness.LEFT].getAxesInfo().getAxes(); diff --git a/wle_pp/wle_pp/README.md b/wle_pp/wle_pp/README.md index b13bfe0..a186019 100644 --- a/wle_pp/wle_pp/README.md +++ b/wle_pp/wle_pp/README.md @@ -580,7 +580,7 @@ List of features: * it works through gamepad cores, that specify how the buttons are activated (keyboard, mouse, gamepads) * example: ```js - PP.myLeftGamepad.registerButtonEventListener(PP.GamepadButtonID.THUMBSTICK, PP.ButtonEvent.PRESS_START, this, this._thumbstickPressStart.bind(this)); + PP.myLeftGamepad.registerButtonEventListener(PP.GamepadButtonID.THUMBSTICK, PP.GamepadButtonEvent.PRESS_START, this, this._thumbstickPressStart.bind(this)); PP.myRightGamepad.getButtonInfo(PP.GamepadButtonID.TOP_BUTTON).isTouchEnd(); PP.myLeftGamepad.getButtonInfo(PP.GamepadButtonID.SQUEEZE).isPressStart(2); // fast pressed 2 times PP.myGamepads[PP.Handedness.LEFT].getAxesInfo().getAxes(); diff --git a/wle_pp/wle_pp_bundle/README.md b/wle_pp/wle_pp_bundle/README.md index b13bfe0..a186019 100644 --- a/wle_pp/wle_pp_bundle/README.md +++ b/wle_pp/wle_pp_bundle/README.md @@ -580,7 +580,7 @@ List of features: * it works through gamepad cores, that specify how the buttons are activated (keyboard, mouse, gamepads) * example: ```js - PP.myLeftGamepad.registerButtonEventListener(PP.GamepadButtonID.THUMBSTICK, PP.ButtonEvent.PRESS_START, this, this._thumbstickPressStart.bind(this)); + PP.myLeftGamepad.registerButtonEventListener(PP.GamepadButtonID.THUMBSTICK, PP.GamepadButtonEvent.PRESS_START, this, this._thumbstickPressStart.bind(this)); PP.myRightGamepad.getButtonInfo(PP.GamepadButtonID.TOP_BUTTON).isTouchEnd(); PP.myLeftGamepad.getButtonInfo(PP.GamepadButtonID.SQUEEZE).isPressStart(2); // fast pressed 2 times PP.myGamepads[PP.Handedness.LEFT].getAxesInfo().getAxes();