mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
14 lines
No EOL
382 B
JavaScript
14 lines
No EOL
382 B
JavaScript
define(['inputManager'], function (inputManager) {
|
|
|
|
return function (result) {
|
|
result.success = true;
|
|
switch (result.item.deviceid) {
|
|
case 'displaymirroring':
|
|
inputManager.trigger('toggledisplaymirror');
|
|
break;
|
|
default:
|
|
result.success = false;
|
|
return;
|
|
}
|
|
}
|
|
}); |