Skip to content

set_input_source does not work for any of the codes listed in get_vcp_capabilities #221

Open
@Alexgrau88

Description

@Alexgrau88

Even though i have inputs': [<InputSource.DP1: 15>, <InputSource.DP2: 16>, <InputSource.HDMI1: 17>] shown when using get_vcp_capabilities the set_input_source does not work for any of the codes. Any assistance would be appreciated.

print(monitor.set_input_source("DP1") )
= to none

  • Monitor manufacturer and model number: LG 34WP65G
  • Input source (HDMI, VGA, display port, ect.): HDMI
  • Output device (video card, discrete graphics, ect.): dedicated graphics
  • Operating system: Windows 11
  • Python version: 3.11.0
  • monitorcontrol version (monitorcontrol --version): 3.0.2

Steps to Reproduce

Run
from monitorcontrol import get_monitors

for monitor in get_monitors():
with monitor:
print(monitor.get_vcp_capabilities())
print(monitor.set_input_source("DP1"))

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions