compile keyboard cat mode