UPD: Thank you all who participated in the discussion! The application was founditunes.apple.com/us/app/hands-off/id410177187?mt=12 Many thanks to Sergey Pronin, it was he who calculated this miracle program in the mac app store
There is an idea of a simple, but damnably useful application for mac users who are not mac who have curious children.
')
The essence of the application: This is a keyboard lock by clicking on the application icon in the dock
The application has an icon with two states of the keyboard on / off
The keyboard, the mouse, the touchpad are blocked - they remain working (as options, the ability to set to lock the keyboard and touchpad, or only the keyboard or the touchpad)
also set the key combination to unlock the keyboard
IMPORTANT - only the keyboard is blocked - the screen / applications - everything remains active, I’m talking on Skype, I’m not able to write anything, I’m not able to write anything at all, but the touchpad is active and everything is knitted with it
An example from life: we often communicate on Skype with a video of the whole family and my curious sonulka very much want to talk and chat on the keyboard, which leads to the departure of windows, etc., and so on. And so that the son and I (I think that many will understand me) would be satisfied, there is a need for such an application.
I am a mac user, but I am not a developer, I sent a request to friends from kttsoft with a request to tell what is what?
As a result of an online search on the topic “Develop Keyboard Blocker for Mac OS X”, it turned out that there are ways to receive keystroke events from individual applications, but there is no single mechanism to ban keystroke processing. Therefore, the task cannot be completed in full without interfering with the kernel of the operating system. Commercial programs that implement this functionality could not be found.
Solving a partial task — reassigning the functionality of some keys programmatically on the examined code samples does not work correctly.
Another partial solution is to lock the keyboard by creating an application that occupies the screen with a transparent window.
Disable touchpad or mouse does not work.
The question is actually the same - is it really that bad?