This Gist contains a Python class 'InputListener' that implements a simple input listener for keyboard and mouse events in Windows. The class provides methods to add event handlers for keyboard and mouse events, making it easy to capture and respond to user input.
Features:
Listens to keyboard events such as key down and key up. Monitors mouse events including mouse movement, clicks, wheel scrolling, and extra mouse buttons. Supports customizable event handling with callback functions. Usage: