Keyboard Wizardry is a WPF application that demonstrates how to capture and handle global keyboard events, such as detecting specific key presses (e.g., F1) or key combinations (e.g., CTRL+C). This project is designed to showcase the use of low-level keyboard hooks in a Windows environment.
- Detect specific key presses (e.g.,
F1). - Detect key combinations (e.g.,
CTRL+C). - Prevent further processing of specific keys.
To set up and run this project, ensure you have the following:
-
Development Environment:
- Visual Studio Code or Visual Studio (recommended).
- .NET 6.0 SDK or later.
-
Dependencies:
- Windows OS (required for low-level keyboard hooks).
- WPF framework (included with .NET).
-
Setup Instructions:
- Clone this repository:
git clone https://github.com/<your-username>/Keyboard_Wizardry.git
- Navigate to the project directory:
cd Keyboard_Wizardry - Open the project in Visual Studio Code or Visual Studio.
- Build and run the project.
- Clone this repository:
For more details and insights about this project, visit my blog:
🔮 Keyboard Wizardry: How to Capture Any Key Press Across Windows with C#
Feel free to contribute to this project or report any issues!