monitor-input-switcher

1.0.3 • Public • Published

Monitor Input Switcher

This module allows you to switch a displays input source through software without the need of any hardware like a kvm-switch.

const monitorInputSwitcher = require("monitor-input-switcher");

for (let monitor of monitorInputSwitcher.getMonitorList()) {
  monitorInputSwitcher.setMonitorInput(monitor, monitorInputSwitcher.HDMI_1);
}

Currently only working on windows. Monitor has to support Display Data Channel (DDC) defined by VESA (https://glenwing.github.io/docs/VESA-DDCCI-1.1.pdf)

Available Input Sources:

VGA_1
VGA_2
DVI_1
DVI_2
COMPOSITE_1
COMPOSITE_2
S_VIDEO_1
S_VIDEO_2
TUNER_1
TUNER_2
TUNER_3
COMPONENT_1
COMPONENT_2
COMPONENT_3
DISPLAY_PORT_1
DISPLAY_PORT_2
HDMI_1
HDMI_2

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i monitor-input-switcher

    Weekly Downloads

    3

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    2 kB

    Total Files

    3

    Last publish

    Collaborators

    • bommel24