How to run an app on key Press?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to run an app on key Press?

633 次查看
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

标记 (1)
0 项奖励
回复
2 回复数

537 次查看
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 项奖励
回复

536 次查看
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 项奖励
回复