f
This commit is contained in:
parent
1e9d348f4f
commit
43a60ed1b1
11
main.js
11
main.js
@ -89,16 +89,6 @@ app.on('ready', event => {
|
|||||||
console.log("Init done")
|
console.log("Init done")
|
||||||
})
|
})
|
||||||
|
|
||||||
ioHook.on('mouseclick', event => {
|
|
||||||
if (event.button == '4') {
|
|
||||||
if (talkOpen === false) {
|
|
||||||
talkOpen = true
|
|
||||||
toggleMicOpen()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
ioHook.on('mousedown', event => {
|
ioHook.on('mousedown', event => {
|
||||||
if (event.button == '4') {
|
if (event.button == '4') {
|
||||||
if (talkOpen === false) {
|
if (talkOpen === false) {
|
||||||
@ -108,7 +98,6 @@ ioHook.on('mousedown', event => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
ioHook.on('mouseup', event => {
|
ioHook.on('mouseup', event => {
|
||||||
if (event.button == '4') {
|
if (event.button == '4') {
|
||||||
if (talkOpen === true) {
|
if (talkOpen === true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user