add function for enable/disable builtin keyboard