diff --git a/main.js b/main.js index 4ad73b8..8a08b11 100644 --- a/main.js +++ b/main.js @@ -89,16 +89,6 @@ app.on('ready', event => { console.log("Init done") }) -ioHook.on('mouseclick', event => { - if (event.button == '4') { - if (talkOpen === false) { - talkOpen = true - toggleMicOpen() - } - } -}); - - ioHook.on('mousedown', event => { if (event.button == '4') { if (talkOpen === false) { @@ -108,7 +98,6 @@ ioHook.on('mousedown', event => { } }) - ioHook.on('mouseup', event => { if (event.button == '4') { if (talkOpen === true) {