Skip to content

Listens for keyboard being plugged in or unplugged and swaps monitor inputs between two selections.

Notifications You must be signed in to change notification settings

a-j-jones/monitor_input_swapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

Listens for keyboard being plugged in or unplugged and swaps monitor inputs between two selections.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published