#define CYTP_BIT_HIGH_RATE (1 << 4) /* * report mode bit is set, firmware working in Remote Mode. * report mode bit is cleared, firmware working in Stream Mode.
*/ #define CYTP_BIT_REPORT_MODE (1 << 5)
/* scrolling width values for set HSCROLL and VSCROLL width command. */ #define SCROLL_WIDTH_NARROW 1 #define SCROLL_WIDTH_NORMAL 2 #define SCROLL_WIDTH_WIDE 3
struct cytp_contact { int x; int y; int z; /* also named as touch pressure. */
};
/* The structure of Cypress Trackpad event data. */ struct cytp_report_data { int contact_cnt; struct cytp_contact contacts[CYTP_MAX_MT_SLOTS]; unsignedint left:1; unsignedint right:1; unsignedint middle:1; unsignedint tap:1; /* multi-finger tap detected. */
};
/* The structure of Cypress Trackpad device private data. */ struct cytp_data { int fw_version;
int pkt_size; int mode;
int tp_min_pressure; int tp_max_pressure; int tp_width; /* X direction physical size in mm. */ int tp_high; /* Y direction physical size in mm. */ int tp_max_abs_x; /* Max X absolute units that can be reported. */ int tp_max_abs_y; /* Max Y absolute units that can be reported. */
int tp_res_x; /* X resolution in units/mm. */ int tp_res_y; /* Y resolution in units/mm. */
int tp_metrics_supported;
};
int cypress_detect(struct psmouse *psmouse, bool set_properties); int cypress_init(struct psmouse *psmouse);
#endif/* _CYPRESS_PS2_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.