jellyfin-web/dashboard-ui/bower_components/emby-webcomponents/voice/commands/enablecommands.js
Luke Pulverenti 9a4a0e78a9 voice fixes
2016-07-06 16:16:56 -04:00

20 lines
439 B
JavaScript

define(['inputManager'], function (inputManager) {
function enableDisplayMirror() {
return function () {
inputManager.trigger('enabledisplaymirror');
};
}
return function (result) {
switch (result.item.deviceid) {
case 'displaymirroring':
return enableDisplayMirror();
break;
default:
return;
}
}
});