|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
/* global APP, $, JitsiMeetJS */ |
|
|
|
|
/* global APP, $, JitsiMeetJS, interfaceConfig */ |
|
|
|
|
|
|
|
|
|
import { |
|
|
|
|
toggleDialog |
|
|
|
@ -34,12 +34,14 @@ function initGlobalShortcuts() { |
|
|
|
|
}); |
|
|
|
|
KeyboardShortcut._addShortcutToHelp("SPACE","keyboardShortcuts.pushToTalk"); |
|
|
|
|
|
|
|
|
|
KeyboardShortcut.registerShortcut("T", null, () => { |
|
|
|
|
JitsiMeetJS.analytics.sendEvent("shortcut.speakerStats.clicked"); |
|
|
|
|
APP.store.dispatch(toggleDialog(SpeakerStats, { |
|
|
|
|
conference: APP.conference |
|
|
|
|
})); |
|
|
|
|
}, "keyboardShortcuts.showSpeakerStats"); |
|
|
|
|
if(!interfaceConfig.filmStripOnly) { |
|
|
|
|
KeyboardShortcut.registerShortcut("T", null, () => { |
|
|
|
|
JitsiMeetJS.analytics.sendEvent("shortcut.speakerStats.clicked"); |
|
|
|
|
APP.store.dispatch(toggleDialog(SpeakerStats, { |
|
|
|
|
conference: APP.conference |
|
|
|
|
})); |
|
|
|
|
}, "keyboardShortcuts.showSpeakerStats"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* FIXME: Currently focus keys are directly implemented below in onkeyup. |
|
|
|
|