I can´t use fisical keyborad on android

I´m doing a game for Android plataform, but when a want use a HID Periferical (mouse or keyboard) it dosent work in the game, but work perfecly in other apps.

Can someone help me?