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?
Asked
Active
Viewed 205 times
1 Answers
0
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

Vinmean
- 21
xev -event keyboard
. If so, you could maybe find some helpful info at How can I change what keys on my keyboard do? – wjandrea Jul 24 '18 at 22:44