?? s3c2410_ts.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 + -