My cats run across my open laptop constantly. These toggle xinput devices enabled/disable state.
TODO: have a fail-safe in place. It sucks if you accidentally turn this off and don't have another keyboard around. I put the enable shortcut to run on login just in case ;-)