#define TP_COMMAND 0xE2 /* Commands start with this */
#define TP_READ_ID 0xE1 /* Sent for device identification */
/* * Valid first byte responses to the "Read Secondary ID" (0xE1) command. * 0x01 was the original IBM trackpoint, others implement very limited * subset of trackpoint features.
*/ #define TP_VARIANT_IBM 0x01 #define TP_VARIANT_ALPS 0x02 #define TP_VARIANT_ELAN 0x03 #define TP_VARIANT_NXP 0x04 #define TP_VARIANT_JYT_SYNAPTICS 0x05 #define TP_VARIANT_SYNAPTICS 0x06
/* * Commands
*/ #define TP_RECALIB 0x51 /* Recalibrate */ #define TP_POWER_DOWN 0x44 /* Can only be undone through HW reset */ #define TP_EXT_DEV 0x21 /* Determines if external device is connected (RO) */ #define TP_EXT_BTN 0x4B /* Read extended button status */ #define TP_POR 0x7F /* Execute Power on Reset */ #define TP_POR_RESULTS 0x25 /* Read Power on Self test results */ #define TP_DISABLE_EXT 0x40 /* Disable external pointing device */ #define TP_ENABLE_EXT 0x41 /* Enable external pointing device */
/* * Mode manipulation
*/ #define TP_SET_SOFT_TRANS 0x4E /* Set mode */ #define TP_CANCEL_SOFT_TRANS 0xB9 /* Cancel mode */ #define TP_SET_HARD_TRANS 0x45 /* Mode can only be set */
/* * Register oriented commands/properties
*/ #define TP_WRITE_MEM 0x81 #define TP_READ_MEM 0x80 /* Not used in this implementation */
/* * RAM Locations for properties
*/ #define TP_SENS 0x4A /* Sensitivity */ #define TP_MB 0x4C /* Read Middle Button Status (RO) */ #define TP_INERTIA 0x4D /* Negative Inertia */ #define TP_SPEED 0x60 /* Speed of TP Cursor */ #define TP_REACH 0x57 /* Backup for Z-axis press */ #define TP_DRAGHYS 0x58 /* Drag Hysteresis */ /* (how hard it is to drag */ /* with Z-axis pressed) */
#define TP_MINDRAG 0x59 /* Minimum amount of force needed */ /* to trigger dragging */
#define TP_THRESH 0x5C /* Minimum value for a Z-axis press */ #define TP_UP_THRESH 0x5A /* Used to generate a 'click' on Z-axis */ #define TP_Z_TIME 0x5E /* How sharp of a press */ #define TP_JENKS_CURV 0x5D /* Minimum curvature for double click */ #define TP_DRIFT_TIME 0x5F /* How long a 'hands off' condition */ /* must last (x*107ms) for drift */ /* correction to occur */
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.