Problem to used the keyboard in priority to the game mode

when I active “priority to the game” the keyboard is does´t work , how can I fix that?