diff --git a/index.html b/index.html
index 7ed0355..896e805 100644
--- a/index.html
+++ b/index.html
@@ -94,14 +94,6 @@
-
-
-
- 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.
-
-
-
diff --git a/js/scripts.js b/js/scripts.js
index de48436..922e50d 100644
--- a/js/scripts.js
+++ b/js/scripts.js
@@ -177,6 +177,7 @@ class Gamepad {
init = () => {
this.id = Date.now();
+ this.canVibrate = (this.unit.vibrationActuator) ? true : false;
this.isSelected = false;
this.isVibrating = false;
this.isLocked = false;
@@ -350,7 +351,7 @@ class VibrationMaster {
eventHandler = () => {
if (this.gamepads.length > 0) {
this.gamepads.forEach(gamepad => {
- if (gamepad.unit.vibrationActuator) {
+ if (gamepad.canVibrate === true) {
if (gamepad.unit.buttons[2].pressed === true &&
gamepad.unit.buttons[3].pressed === true) {
gamepad.lock();