⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s3c2410_ts.h

📁 fs2410下借用SDL.FFMPEG库实现一个触摸屏的播放器程序。请参照源码在相应目录下自己放置一个要播放的MPG文件。
💻 H
字号:
/*** Driver for the H3600 Touch Screen and other Atmel controlled devices.** Copyright 2000 Compaq Computer Corporation.** Use consistent with the GNU GPL is permitted,* provided that this copyright notice is* preserved in its entirety in all copies and derived works.** COMPAQ COMPUTER CORPORATION MAKES NO WARRANTIES, EXPRESSED OR IMPLIED,* AS TO THE USEFULNESS OR CORRECTNESS OF THIS CODE OR ITS* FITNESS FOR ANY PARTICULAR PURPOSE.** Author: Charles Flynn.** Author: SW.LEE <hitchcar@sec.samsung.com> Modified for S3C2410 */#ifndef __S3C2410_TS_H__#define __S3C2410_TS_H__#include <linux/ioctl.h>enum s3c2410_ts_minor_devices {	TS_MINOR    = 0,	TSRAW_MINOR = 1,	KEY_MINOR   = 2};typedef struct s3c2410_ts_calibration {        int xscale;        int xtrans;        int yscale;        int ytrans;        int xyswap;} TS_CAL;typedef struct s3c2410_ts_event {        unsigned short pressure;        unsigned short x;        unsigned short y;        unsigned short pad;} TS_EVENT;/* Deprecated - do not use */typedef struct s3c2410_ts_return {        unsigned short pressure;        unsigned short x;        unsigned short y;        unsigned short pad;} TS_RET;/* IOCTL cmds  user or kernel space *//* Use 'f' as magic number */#define IOC_S3C2410_TS_MAGIC  'f'#define TS_GET_CAL	_IOR(IOC_S3C2410_TS_MAGIC, 10, struct s3c2410_ts_calibration)#define TS_SET_CAL	_IOW(IOC_S3C2410_TS_MAGIC, 11, struct s3c2410_ts_calibration)#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -