Skip to content

JayMalli/Keyboard_Wizardry

Repository files navigation

Keyboard Wizardry

Description

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.

Features

  • Detect specific key presses (e.g., F1).
  • Detect key combinations (e.g., CTRL+C).
  • Prevent further processing of specific keys.

Requirements

To set up and run this project, ensure you have the following:

  1. Development Environment:

    • Visual Studio Code or Visual Studio (recommended).
    • .NET 6.0 SDK or later.
  2. Dependencies:

    • Windows OS (required for low-level keyboard hooks).
    • WPF framework (included with .NET).
  3. 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.

Blog

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!

Releases

No releases published

Packages

No packages published

Languages