Nuvoton
/
NuMaker-mbed-emWin-example
NuMaker emWin HMI
tslib/tslib-private.h@10:c8165817d92a, 2 months ago (annotated)
- Committer:
- csyang2
- Date:
- Mon Mar 04 15:47:41 2024 +0800
- Revision:
- 10:c8165817d92a
- Parent:
- 9:1286ec7f3230
Support NuMaker-IoT-M467
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
csyang2 |
1:c0f972361605 | 1 | #ifndef _TSLIB_PRIVATE_H_ |
csyang2 |
1:c0f972361605 | 2 | #define _TSLIB_PRIVATE_H_ |
csyang2 |
1:c0f972361605 | 3 | /* |
csyang2 |
1:c0f972361605 | 4 | * tslib/src/tslib-private.h |
csyang2 |
1:c0f972361605 | 5 | * |
csyang2 |
1:c0f972361605 | 6 | * Copyright (C) 2001 Russell King. |
csyang2 |
1:c0f972361605 | 7 | * |
csyang2 |
1:c0f972361605 | 8 | * This file is placed under the LGPL. |
csyang2 |
1:c0f972361605 | 9 | * |
csyang2 |
1:c0f972361605 | 10 | * $Id: tslib-private.h,v 1.3 2004/07/21 19:12:59 dlowder Exp $ |
csyang2 |
1:c0f972361605 | 11 | * |
csyang2 |
1:c0f972361605 | 12 | * Internal touch screen library definitions. |
csyang2 |
1:c0f972361605 | 13 | */ |
csyang2 |
1:c0f972361605 | 14 | #ifdef __cplusplus |
csyang2 |
1:c0f972361605 | 15 | extern "C" { |
csyang2 |
1:c0f972361605 | 16 | #endif /* __cplusplus */ |
csyang2 |
9:1286ec7f3230 | 17 | #if 0 |
csyang2 |
1:c0f972361605 | 18 | #include "tslib.h" |
csyang2 |
1:c0f972361605 | 19 | #include "tslib-filter.h" |
csyang2 |
1:c0f972361605 | 20 | |
csyang2 |
1:c0f972361605 | 21 | struct tsdev |
csyang2 |
1:c0f972361605 | 22 | { |
csyang2 |
1:c0f972361605 | 23 | int fd; |
csyang2 |
1:c0f972361605 | 24 | struct tslib_module_info *list; |
csyang2 |
1:c0f972361605 | 25 | struct tslib_module_info *list_raw; /* points to position in 'list' where raw reads |
csyang2 |
1:c0f972361605 | 26 | come from. default is the position of the |
csyang2 |
1:c0f972361605 | 27 | ts_read_raw module. */ |
csyang2 |
1:c0f972361605 | 28 | }; |
csyang2 |
1:c0f972361605 | 29 | |
csyang2 |
1:c0f972361605 | 30 | int __ts_attach(struct tsdev *ts, struct tslib_module_info *info); |
csyang2 |
1:c0f972361605 | 31 | int __ts_attach_raw(struct tsdev *ts, struct tslib_module_info *info); |
csyang2 |
1:c0f972361605 | 32 | int ts_load_module(struct tsdev *dev, const char *module, const char *params); |
csyang2 |
1:c0f972361605 | 33 | int ts_load_module_raw(struct tsdev *dev, const char *module, const char *params); |
csyang2 |
1:c0f972361605 | 34 | int ts_error(const char *fmt, ...); |
csyang2 |
9:1286ec7f3230 | 35 | #endif |
csyang2 |
1:c0f972361605 | 36 | #ifdef __cplusplus |
csyang2 |
1:c0f972361605 | 37 | } |
csyang2 |
1:c0f972361605 | 38 | #endif /* __cplusplus */ |
csyang2 |
1:c0f972361605 | 39 | #endif /* _TSLIB_PRIVATE_H_ */ |