Add enable and disable KeyboardControl functions to API