https://github.com/p403n1x87/m27q
Simple Python object to control the Gigabyte M27Q OSD settings
https://github.com/p403n1x87/m27q
display hacktoberfest kvm-switch monitor osd usb
Last synced: about 1 year ago
JSON representation
Simple Python object to control the Gigabyte M27Q OSD settings
- Host: GitHub
- URL: https://github.com/p403n1x87/m27q
- Owner: P403n1x87
- Created: 2021-08-02T16:01:48.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-29T19:20:42.000Z (almost 2 years ago)
- Last Synced: 2024-11-01T01:53:02.045Z (over 1 year ago)
- Topics: display, hacktoberfest, kvm-switch, monitor, osd, usb
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 28
- Watchers: 4
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gigabyte M27Q Settings Controller
This Python library allows you to control the Gigabyte M27Q settings via USB.
Feel free to contribute further settings.
The initial implementation was based on [this gist](https://gist.github.com/wadimw/4ac972d07ed1f3b6f22a101375ecac41).
> On Linux you might be required to create a `udev` rule in, e.g.
> `/etc/udev/rules.d/10-local.rules` to allow USB traffic to the monitor with:
>
> `SUBSYSTEM=="usb", ATTRS{idVendor}=="2109", ATTR{idProduct}=="8883", MODE="0666"`.
## Example
This is a simple script to simulate the KVM switch button
~~~ python
from m27q import MonitorControl
with MonitorControl() as m:
m.toggle_kvm()
~~~