资源简介
linux按键测试例子,/dev/input下event设备,获取按键状态并打印出来。
代码片段和文件信息
/* *
* *******************************************************************************
* * Filename : key.c
* * Version : 1.1.3v
* * Created : 2019-09-02 10:46
* * Description : ...
* * Author : wangfei
* ********************************************************************************
* */
#if 0 //wangfei Comment Start 2019-09-02 10:46
#endif //wangfei Comment End 2019-09-02 10:46
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define TOUCHKEY_TAG “keyDemo “
#define TOUCHKEY_FILE “/dev/input/event3“
int main(int argc char **argv)
{
int nFd;
int nRet;
struct input_event *sInputEvent
- 上一篇:如何对数据库进行签名
- 下一篇:模拟量转换 库
相关资源
- Hi3536 Linux开发环境用户指南
- 制作mipsel-linux交叉编译工具
- arm的startup.s解析
- linux系统下的内存测试工具
- GNU/Linux系统开发者需要从桌面突破
- the_definitive_guide_to_linux_network_programm
- linux-shell脚本命令:grep命令简介
- Learning Linux Binary Analysis
- 蓝牙源代码应用于LINUX
- IAR For ARM 7.3最新注册机
- 郭天祥ARM9视频教程
- IAR ARM 7.8破解
- IAR For ARM V5.5 注册机
- IAR for ARM 7.40 破解
- IAR For ARM 7.4 破解
- uboot到linux logo显示不间断 补丁
- UNIX/LINUX编程实践教程的源码
- Linux任务管理器
- linux应用层的华容道游戏源代码
- ubuntu9.10 可加载内核模块和字符设备驱
- arm触摸屏与LCD校准程序三点校准法
- MP3文件ID3v2ID3v2APEv2标签读取
- ARM嵌入式项目实战
- 操作系统实验——虚存管理实验
- linux下的发包工具sendip
- 尚观培训linux许巍关于c 的笔记和讲义
- 尚观培训linux董亮老师关于数据结构的
- linux 线程池源码 c 版
- linux C 电梯程序练习
- linux下用多进程同步方法解决生产者
评论
共有 条评论