How to use XIBO as a kiosk to verify prices, as well as those that are in automarkets?

I made a page in php to query the database, it works fine but you always have to click on the screen to activate it.
Is there a way that the query field is always active to connect a barcode reader?