How to run an app on key Press?

Discussion created by danix on Aug 26, 2011
Latest reply on Aug 26, 2011 by danix

Hey all,


I've a custom board with imx233, pretty much the same as the EVK. I've four push buttons in a ladder connected to the LRADC channel0.

I just want to run some application when a key is pressed, but I'm not sure how to do that, Where exactly is the interrupt service routine?


Similarly, pressing any key can wake my device from suspend... and again I want to launch an application when the system wakes up


This may be a silly question, but I don't know how, somebody guide me on the how to (details are appreciated)


Thanks in advance