/* * One hard to find application note states that X axis range is 0 to 576 * and Y axis range is 0 to 384 for harware version 1. * Edge fuzz might be necessary because of bezel around the touchpad
*/ #define ETP_EDGE_FUZZ_V1 32
/* * track up to 5 fingers for v4 hardware
*/ #define ETP_MAX_FINGERS 5
/* * weight value for v4 hardware
*/ #define ETP_WEIGHT_VALUE 5
/* * Bus information on 3rd byte of query ETP_RESOLUTION_QUERY(0x04)
*/ #define ETP_BUS_PS2_ONLY 0 #define ETP_BUS_SMB_ALERT_ONLY 1 #define ETP_BUS_SMB_HST_NTFY_ONLY 2 #define ETP_BUS_PS2_SMB_ALERT 3 #define ETP_BUS_PS2_SMB_HST_NTFY 4
/* * New ICs are either using SMBus Host Notify or just plain PS2. * * ETP_FW_VERSION_QUERY is: * Byte 1: * - bit 0..3: IC BODY * Byte 2: * - bit 4: HiddenButton * - bit 5: PS2_SMBUS_NOTIFY * - bit 6: PS2CRCCheck
*/ #define ETP_NEW_IC_SMBUS_HOST_NOTIFY(fw_version) \
((((fw_version) & 0x0f2000) == 0x0f2000) && \
((fw_version) & 0x0000ff) > 0)
/* * The base position for one finger, v4 hardware
*/ struct finger_pos { unsignedint x; unsignedint y;
};
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.