This commit is contained in:
khlam 2019-10-12 21:10:28 -07:00
parent 1e9d348f4f
commit 43a60ed1b1

11
main.js
View File

@ -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) {