GadgetSeed
0.9.6
ts_ioctl.h
[詳解]
1
/** @file
2
@brief タッチセンサドライバ ioctl 用マクロ定義
3
4
推奨デバイス名 : "ts"
5
6
@date 2017.12.17
7
@author Takashi SHUDO
8
*/
9
10
#ifndef TS_IOCTL_H
11
#define TS_IOCTL_H
12
13
#include "
device/std_ioctl.h
"
14
15
#define DEF_DEV_NAME_TS "ts"
///< 標準タッチセンサデバイス名
16
17
struct
st_ts_calib_data
{
18
int
left_pos;
19
int
left_val;
20
int
right_pos;
21
int
right_val;
22
23
int
top_pos;
24
int
top_val;
25
int
bottom_pos;
26
int
bottom_val;
27
};
///< タッチセンサキャリブレーションデータ
28
29
#define IOCMD_TS_SET_CALIB STDIOCTL(DEV_TS,0x00)
///< キャリブレーションデータを設定する
30
31
#endif // TS_IOCTL_H
std_ioctl.h
デバイスドライバ ioctl 用マクロ定義
st_ts_calib_data
タッチセンサキャリブレーションデータ
Definition:
ts_ioctl.h:17
include
device
ts_ioctl.h
構築:
1.8.13