摘要:
\system\core\include\arch\linux-armAndroidConfig.h* ===========================================================================* !!! IMPORTANT !!!* ===========================================================================** This file is included by ALL C/C++ source files. Don't put anything in 阅读全文
posted @ 2013-09-05 17:16
莫回头
阅读(780)
评论(0)
推荐(0)
摘要:
最近需要做个唤醒功能,当按键的时候android系统唤醒并点亮屏,在长按键中,系统不能在进入睡眠。[cpp] view plaincopyprint?驱动方面:1:在平台设备文件中添加一个按键,定义为唤醒源!\arch\arm\mach-s5pv210staticstructgpio_keys_buttongpio_buttons[]={{.gpio=S5PV210_GPH1(3),.code=KEY_F22,//对应192 .desc="F22",.active_low=1,.wakeup=1,.debounce_interval=100,//去抖动 },}statics 阅读全文
posted @ 2013-09-05 17:09
莫回头
阅读(943)
评论(0)
推荐(0)

浙公网安备 33010602011771号