How to detect a button pressed in a module?

Started by maxchen, May 08, 2013, 07:29:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

maxchen

I'm trying to experiment something but can't figure out how to detect a button pressed, for example the half press shutter button,in the module.
Do I have to put a handler function in handle_common_events_by_feature in gui_common.c ?

thanks.