I have a remote presenter device that connects to my laptop using a usb dongle. It works perfectly for switching slides with Ubuntu's LibreOffice Impress (powerpoint). Is there a way to scan for these commands from my own c/c++ code and do what I like with them?
Based on the above comment, I realized that a presenter device sends the ascii codes same as some of the keys in the keyboard. So any keyboard event handling feature of available c++ libraries could be used to detect keyboard inputs. I used the one from opencv