Hello everyone.
I’ve been searching the possibility of overwrite or simply capture the press event on S2 (the VOL DOWN) button of dev carrier that comes with TX2. I pretend to get it on C++ and do something once it is pressed (like take a picture or grab some frames).
Is it possible WITHOUT building a custom kernel?
Thank you.
hello Dourado,
may i know your use-case is something like hardware triggers to send a capture request ?
thanks
I have an OpenCV application that uses a Kinect camera to capture video streams. The S2 button press would be captured by a C++ code and just save part of the frames on files. The part I wish to know if it’s possible is this “capture” process of S2 button or if I can remap it to an existing key (like space or any other ASCII key) so my code can capture it.
hello Dourado,
you could refer to Argus camera, please refer to source AppModuleCapture.cpp
thanks
Press 'space' to execute the module action (capture an image, start and stop recording, start and stop video playback.