Skip to content

Disable your keyboard so you can clean it or whatever

Notifications You must be signed in to change notification settings

calinux-py/DisableKeyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

724724c · Jan 27, 2025

History

3 Commits
Jan 27, 2025
Jan 26, 2025

Repository files navigation

Keyboard Toggler

A lightweight tool to enable or disable keyboard input at will. This script uses a simple hotkey (Ctrl + Win + K) to toggle your keyboard on or off in real-time.

Requirements

  • Python 3.x
  • PyQt5
  • pyWinhook
  • pythoncom

Installation

  1. Clone or download this repository.
  2. Install dependencies:
    pip install pyqt5 pyWinhook
  3. Run the script:
    python disablekeyboard.py

Usage

  • Hotkey: Press Ctrl + Win + K to toggle the keyboard.
  • UI Button: Click the button on the GUI to enable or disable the keyboard.

When the keyboard is disabled, you won't be able to type until the hotkey or button is pressed again.