Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 762 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 762 Bytes

Input Swapper

This is a simple script that detects an input device being plugged in / unplugged and sends a message to your monitor to switch to a specific input.

Usage

  1. Clone this repository
  2. Create a virtual environment & Install requirements.txt
  3. Configure the constants in main.py
  4. Run main.py

I have set up InputSwapper.bat which activates the virtual environment and runs in pythonw so that the code runs in the background, then the code can be paused or exited from the system tray.

References

I used the following resources to help me write this script: