Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
signorpipo committed Dec 2, 2022
1 parent 7359d2f commit a12df30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion wle_pp/wle_pp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion wle_pp/wle_pp_bundle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a12df30

Please sign in to comment.