6

My cat keeps walking over my keyboard.

Is it possible to lock the keyboard with a keyboard short cut but leave the screen running and all apps visible?

4
  • Also apple.stackexchange.com/questions/41439/…
    – bmike
    Commented Sep 17, 2017 at 18:51
  • The accepted solution on that question does lock the screen (sleep, screensaver). That is not what I want. I edited the question to clarify that.
    – kiatra
    Commented Sep 17, 2017 at 19:10
  • 1
    Aah - kind of like unplugging the keyboard entirely. Or forcing you to answer a captcha or math question to start typing again.
    – bmike
    Commented Sep 17, 2017 at 19:59
  • Yeah like unplugging it. Reactivating via mouse input would suffice.
    – kiatra
    Commented Sep 17, 2017 at 23:29

2 Answers 2

5

You can use KeyboardCleanTool (made by the developer of BetterTouchTool).

It opens the application window with a button you have to press in order to lock/unlock the keyboard.

Download it from BetterTouchTool.net

Screenshot of KeyboardCleanTool on macOS 10.12

1
  • Can this be moved out of the way enough or be in the background while watching a movie in full screen? I would try it myself but I am currently on the latest beta.
    – kiatra
    Commented Jun 12, 2019 at 9:49
1

There's no way to turn off a keyboard via shortcut because you would have no way to turn it back on. The best method to achieve what you are looking for is to disconnect the keyboard.

Wired/USB Keyboards

To do that, you should use a USB with a "disconnect" or a "power switch" to turn it on/off like the Sabrent 4 Port Switch. I recommended this for a different question in which the user needed to "reset" the USB bus to redetect their device; this will work perfectly for you.

enter image description here

When you want to "lock" your keyboard, just turn off the port. Turning it back on will automatically reconnect it.

What about wireless?

Turn it off. When you turn it back on, it will automatically reconnect.

1
  • Unfortunately it's a laptop :D
    – kiatra
    Commented Jun 12, 2019 at 9:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .