/* *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 */
/* *Modemanipulation
*/ #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 */
/* *Registerorientedcommands/properties
*/ #define TP_WRITE_MEM 0x81 #define TP_READ_MEM 0x80 /* Not used in this implementation */
/* *RAMLocationsforproperties
*/ #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.