Skip to content

Disable/Enable mouse and keyboard with a hotkey on Windows

Notifications You must be signed in to change notification settings

xoiga123/kittyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

kittyboard

What?

Disable/Enable mouse and keyboard with a hotkey on Windows

Why?

  • You love cats.
  • Cats love your keyboard.
  • You want cats on your keyboard but you don't want them to accidentally press every key combination possible.

How?

  • Capture global hotkey with keyboard module.
  • Disable/Enable mouse and keyboard with ctypes (windll).

Usage

  1. Run with administrator privilege (Important).
  2. Press the hotkey that you want to use (just press, don't type).
  3. Loop:
  • Press hotkey to disable.
  • Press hotkey to enable.
  1. Close manually.

Note

This is for Windows only. There are scripts for Unix / macOS online.

About

Disable/Enable mouse and keyboard with a hotkey on Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages