הפנייה ל-Struct של input_module
הפנייה ל-Struct של input_module
#include <
input.h
>
שדות נתונים |
|
| struct hw_module_t | נפוץ |
| void(* | init )(const input_module_t *module, input_host_t *host, input_host_callbacks_t cb) |
| void(* | notify_report )(const input_module_t *module, input_report_t *report) |
תיאור מפורט
מסמכי תיעוד של שדה
| struct hw_module_t common |
שיטות נפוצות של מודול הקלט. הוא חייב להיות המאפיין הראשון של input_module , כי משתמשים במבנה הזה יבצעו המרה של hw_module_t למצביע input_module בהקשרים שבהם ידוע ש- hw_module_t מפנה ל- input_module .
| void(* init)(const input_module_t *module, input_host_t *host, input_host_callbacks_t cb) |
| void(* notify_report)(const input_module_t *module, input_report_t *report) |
התיעוד של המבנה הזה נוצר מהקובץ הבא:
- hardware/libhardware/include/hardware/ input.h