From a12df30f89fb9b5156d475896203739992ad900d Mon Sep 17 00:00:00 2001 From: Pipo Date: Fri, 2 Dec 2022 14:25:07 +0100 Subject: [PATCH] Update readme --- README.md | 2 +- wle_pp/wle_pp/README.md | 2 +- wle_pp/wle_pp_bundle/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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();