How to run an app on key Press?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to run an app on key Press?

582 Views
danix
Contributor III

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

Tags (1)
0 Kudos
2 Replies

486 Views
danix
Contributor III

Hi Daiane,

I don know either, but I'll try it

 

Sure, I'm hoping someone has a better idea.... I'm waiting

 

Thanks!

0 Kudos

485 Views
daiane_angolini
NXP Employee
NXP Employee

I think you can use udev for that. But I don´t know the right configuration way.

 

Let´s see if someone else has a better idea

0 Kudos