I have simple RFID reader that actually behaves as keyboard and returns read values with return character at the end.

I want my application to listen only single (distinct) keyboard device (which i will choose/distinguish somehow) and to get the read value for me no meter where the focus is on the form/application.

Application is written with Qt C++

I'm wondering if this is possible and how?