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

📄 ts_read_raw.c.svn-base

📁 通用触摸屏驱动库
💻 SVN-BASE
字号:
/* *  tslib/src/ts_read_raw.c * *  Copyright (C) 2003 Chris Larson. * * This file is placed under the LGPL.  Please see the file * COPYING for more details. * * Read raw pressure, x, y, and timestamp from a touchscreen device. */#include "config.h"#include "tslib-private.h"#ifdef DEBUG#include <stdlib.h>#include <stdio.h>#include <string.h>#endifint ts_read_raw(struct tsdev *ts, struct ts_sample *samp, int nr){	int result = ts->list_raw->ops->read(ts->list_raw, samp, nr);#ifdef DEBUG	fprintf(stderr,"TS_READ_RAW----> x = %d, y = %d, pressure = %d\n", samp->x, samp->y, samp->pressure);#endif	return result;}

⌨️ 快捷键说明

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