mirror of
https://github.com/eugene-serb/wavelovers.git
synced 2023-09-09 23:41:16 +03:00
Deleted disclaimer
This commit is contained in:
parent
5b65f5b97a
commit
9f5781539c
@ -94,14 +94,6 @@
|
|||||||
<h2 class="content__header">Patterns</h2>
|
<h2 class="content__header">Patterns</h2>
|
||||||
<div id="pattern-list" class="pattern-list"></div>
|
<div id="pattern-list" class="pattern-list"></div>
|
||||||
</div>
|
</div>
|
||||||
<section class="content">
|
|
||||||
<h2 class="content__header">Disclaimer</h2>
|
|
||||||
<div>
|
|
||||||
<span>
|
|
||||||
The author of the program code and the publisher is not responsible for the possible consequences of using the program. You use the program at your own risk. Check your device for correct operation. Please consult your doctor before using the program.
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
@ -177,6 +177,7 @@ class Gamepad {
|
|||||||
|
|
||||||
init = () => {
|
init = () => {
|
||||||
this.id = Date.now();
|
this.id = Date.now();
|
||||||
|
this.canVibrate = (this.unit.vibrationActuator) ? true : false;
|
||||||
this.isSelected = false;
|
this.isSelected = false;
|
||||||
this.isVibrating = false;
|
this.isVibrating = false;
|
||||||
this.isLocked = false;
|
this.isLocked = false;
|
||||||
@ -350,7 +351,7 @@ class VibrationMaster {
|
|||||||
eventHandler = () => {
|
eventHandler = () => {
|
||||||
if (this.gamepads.length > 0) {
|
if (this.gamepads.length > 0) {
|
||||||
this.gamepads.forEach(gamepad => {
|
this.gamepads.forEach(gamepad => {
|
||||||
if (gamepad.unit.vibrationActuator) {
|
if (gamepad.canVibrate === true) {
|
||||||
if (gamepad.unit.buttons[2].pressed === true &&
|
if (gamepad.unit.buttons[2].pressed === true &&
|
||||||
gamepad.unit.buttons[3].pressed === true) {
|
gamepad.unit.buttons[3].pressed === true) {
|
||||||
gamepad.lock();
|
gamepad.lock();
|
||||||
|
Loading…
Reference in New Issue
Block a user