A lightweight, system-tray utility built with C# and WPF that allows you to temporarily disable your keyboard input. Perfect for cleaning your keyboard, preventing accidental key presses by pets/kids, or watching media without interruptions.
- 🔒 Total Lockdown: Blocks all low-level keyboard input using Windows API hooks.
- 👻 Background Operation: Runs silently in the system tray (notification area) without cluttering your taskbar.
- ⚡ Quick Toggle: Easily enable or disable the keyboard via a simple context menu.
- 🚀 Lightweight: Built on the .NET Framework 4.7.2 for minimal resource usage.
- Windows OS
- .NET Framework 4.7.2 Runtime
- Clone the repository:
git clone [https://github.com/kavinmk05/keyboard-disabler.git](https://github.com/kavinmk05/keyboard-disabler.git)
- Open
Keyboard_Disabler.slnin Visual Studio 2019/2022. - Restore NuGet packages.
- Build the solution in
Releasemode.
- Run the application (
Keyboard_Disabler.exe). - The app will start minimized to the System Tray (near your clock).
- Right-click the tray icon to open the menu:
- 🚫 Disable Keyboard: Locks all key presses.
- ✅ Enable Keyboard: Restores normal keyboard functionality.
- ❌ Exit: Re-enables the keyboard (if disabled) and closes the application.
Note: Since this application uses low-level system hooks to intercept input, it may require Administrator privileges depending on your security settings.
- Language: C#
- UI Framework: WPF (Windows Presentation Foundation)
- System API:
user32.dll(Win32 API forSetWindowsHookEx) - Libraries:
System.ReactiveSystem.Drawing.Common
Contributions are welcome! Please follow these steps:
- Fork the project.
- Create your feature branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by kavinmk05