Input Overlay

Project Overview
This project involves creating an input overlay application that visually displays the status of keyboard and mouse inputs. The tool provides a graphical representation of key presses and mouse button states in real-time, useful for debugging and stream overlays.
Code Explanation
The functionality is implemented in C++ and includes the following components:
- KeyboardProc: Handles keyboard input events to update the visual state of on-screen buttons representing keyboard keys.
- MouseProc: Handles mouse input events to update the visual state of on-screen buttons representing mouse buttons.
- WindowProc: Manages window messages to create and manage the display of on-screen buttons and their visual states.
Technical Details
The input overlay tool is built using C++ and Windows API functions. It utilizes low-level hooks to intercept keyboard and mouse events, updating the visual display accordingly. The application creates a transparent window with various buttons representing different inputs, which change state based on user interaction.
Usage
This input overlay tool is useful for live-streaming and debugging applications where real-time input visualization is required. It allows users to monitor and display their input actions on the screen, enhancing the viewer's experience or aiding in development and testing.
Ethical Considerations
While this tool can be used for legitimate purposes such as debugging or enhancing live-stream content, it should be used responsibly. Ensure that the application is used in compliance with relevant software policies and ethical guidelines.
View Source Code on GitHub