jellyfin-web/dashboard-ui/bower_components/emby-webcomponents/voice/commands/enablecommands.js
2016-07-06 15:25:58 -04:00

15 lines
383 B
JavaScript

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