Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | trackpoint_data |
Macros | |
#define | TP_COMMAND 0xE2 /* Commands start with this */ |
#define | TP_READ_ID 0xE1 /* Sent for device identification */ |
#define | TP_MAGIC_IDENT 0x01 /* Sent after a TP_READ_ID followed */ |
#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 */ |
#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 */ |
#define | TP_WRITE_MEM 0x81 |
#define | TP_READ_MEM 0x80 /* Not used in this implementation */ |
#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 */ |
#define | TP_MINDRAG 0x59 /* Minimum amount of force needed */ |
#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_TOGGLE 0x47 /* Toggle command */ |
#define | TP_TOGGLE_MB 0x23 /* Disable/Enable Middle Button */ |
#define | TP_MASK_MB 0x01 |
#define | TP_TOGGLE_EXT_DEV 0x23 /* Disable external device */ |
#define | TP_MASK_EXT_DEV 0x02 |
#define | TP_TOGGLE_DRIFT 0x23 /* Drift Correction */ |
#define | TP_MASK_DRIFT 0x80 |
#define | TP_TOGGLE_BURST 0x28 /* Burst Mode */ |
#define | TP_MASK_BURST 0x80 |
#define | TP_TOGGLE_PTSON 0x2C /* Press to Select */ |
#define | TP_MASK_PTSON 0x01 |
#define | TP_TOGGLE_HARD_TRANS 0x2C /* Alternate method to set Hard Transparency */ |
#define | TP_MASK_HARD_TRANS 0x80 |
#define | TP_TOGGLE_TWOHAND 0x2D /* Two handed */ |
#define | TP_MASK_TWOHAND 0x01 |
#define | TP_TOGGLE_STICKY_TWO 0x2D /* Sticky two handed */ |
#define | TP_MASK_STICKY_TWO 0x04 |
#define | TP_TOGGLE_SKIPBACK 0x2D /* Suppress movement after drag release */ |
#define | TP_MASK_SKIPBACK 0x08 |
#define | TP_TOGGLE_SOURCE_TAG |
#define | TP_MASK_SOURCE_TAG 0x80 |
#define | TP_TOGGLE_EXT_TAG |
#define | TP_MASK_EXT_TAG 0x04 |
#define | TP_POR_SUCCESS 0x3B |
#define | TP_DEF_SENS 0x80 |
#define | TP_DEF_INERTIA 0x06 |
#define | TP_DEF_SPEED 0x61 |
#define | TP_DEF_REACH 0x0A |
#define | TP_DEF_DRAGHYS 0xFF |
#define | TP_DEF_MINDRAG 0x14 |
#define | TP_DEF_THRESH 0x08 |
#define | TP_DEF_UP_THRESH 0xFF |
#define | TP_DEF_Z_TIME 0x26 |
#define | TP_DEF_JENKS_CURV 0x87 |
#define | TP_DEF_MB 0x00 |
#define | TP_DEF_PTSON 0x00 |
#define | TP_DEF_SKIPBACK 0x00 |
#define | TP_DEF_EXT_DEV 0x00 /* 0 means enabled */ |
#define | MAKE_PS2_CMD(params, results, cmd) ((params<<12) | (results<<8) | (cmd)) |
Functions | |
int | trackpoint_detect (struct psmouse *psmouse, bool set_properties) |
Definition at line 128 of file trackpoint.h.
#define TP_CANCEL_SOFT_TRANS 0xB9 /* Cancel mode */ |
Definition at line 44 of file trackpoint.h.
#define TP_COMMAND 0xE2 /* Commands start with this */ |
Definition at line 21 of file trackpoint.h.
#define TP_DEF_DRAGHYS 0xFF |
Definition at line 114 of file trackpoint.h.
#define TP_DEF_EXT_DEV 0x00 /* 0 means enabled */ |
Definition at line 126 of file trackpoint.h.
#define TP_DEF_INERTIA 0x06 |
Definition at line 110 of file trackpoint.h.
#define TP_DEF_JENKS_CURV 0x87 |
Definition at line 120 of file trackpoint.h.
#define TP_DEF_MB 0x00 |
Definition at line 123 of file trackpoint.h.
#define TP_DEF_MINDRAG 0x14 |
Definition at line 115 of file trackpoint.h.
#define TP_DEF_PTSON 0x00 |
Definition at line 124 of file trackpoint.h.
#define TP_DEF_REACH 0x0A |
Definition at line 112 of file trackpoint.h.
#define TP_DEF_SENS 0x80 |
Definition at line 109 of file trackpoint.h.
#define TP_DEF_SKIPBACK 0x00 |
Definition at line 125 of file trackpoint.h.
#define TP_DEF_SPEED 0x61 |
Definition at line 111 of file trackpoint.h.
#define TP_DEF_THRESH 0x08 |
Definition at line 117 of file trackpoint.h.
#define TP_DEF_UP_THRESH 0xFF |
Definition at line 118 of file trackpoint.h.
#define TP_DEF_Z_TIME 0x26 |
Definition at line 119 of file trackpoint.h.
#define TP_DISABLE_EXT 0x40 /* Disable external pointing device */ |
Definition at line 37 of file trackpoint.h.
#define TP_DRAGHYS 0x58 /* Drag Hysteresis */ |
Definition at line 62 of file trackpoint.h.
#define TP_ENABLE_EXT 0x41 /* Enable external pointing device */ |
Definition at line 38 of file trackpoint.h.
#define TP_EXT_BTN 0x4B /* Read extended button status */ |
Definition at line 34 of file trackpoint.h.
#define TP_EXT_DEV 0x21 /* Determines if external device is connected (RO) */ |
Definition at line 33 of file trackpoint.h.
#define TP_INERTIA 0x4D /* Negative Inertia */ |
Definition at line 59 of file trackpoint.h.
#define TP_JENKS_CURV 0x5D /* Minimum curvature for double click */ |
Definition at line 72 of file trackpoint.h.
#define TP_MAGIC_IDENT 0x01 /* Sent after a TP_READ_ID followed */ |
Definition at line 24 of file trackpoint.h.
#define TP_MASK_BURST 0x80 |
Definition at line 86 of file trackpoint.h.
#define TP_MASK_DRIFT 0x80 |
Definition at line 84 of file trackpoint.h.
#define TP_MASK_EXT_DEV 0x02 |
Definition at line 82 of file trackpoint.h.
#define TP_MASK_EXT_TAG 0x04 |
Definition at line 100 of file trackpoint.h.
#define TP_MASK_HARD_TRANS 0x80 |
Definition at line 90 of file trackpoint.h.
#define TP_MASK_MB 0x01 |
Definition at line 80 of file trackpoint.h.
#define TP_MASK_PTSON 0x01 |
Definition at line 88 of file trackpoint.h.
#define TP_MASK_SKIPBACK 0x08 |
Definition at line 96 of file trackpoint.h.
#define TP_MASK_SOURCE_TAG 0x80 |
Definition at line 98 of file trackpoint.h.
#define TP_MASK_STICKY_TWO 0x04 |
Definition at line 94 of file trackpoint.h.
#define TP_MASK_TWOHAND 0x01 |
Definition at line 92 of file trackpoint.h.
#define TP_MB 0x4C /* Read Middle Button Status (RO) */ |
Definition at line 58 of file trackpoint.h.
#define TP_MINDRAG 0x59 /* Minimum amount of force needed */ |
Definition at line 66 of file trackpoint.h.
#define TP_POR 0x7F /* Execute Power on Reset */ |
Definition at line 35 of file trackpoint.h.
#define TP_POR_RESULTS 0x25 /* Read Power on Self test results */ |
Definition at line 36 of file trackpoint.h.
#define TP_POR_SUCCESS 0x3B |
Definition at line 104 of file trackpoint.h.
#define TP_POWER_DOWN 0x44 /* Can only be undone through HW reset */ |
Definition at line 32 of file trackpoint.h.
#define TP_REACH 0x57 /* Backup for Z-axis press */ |
Definition at line 61 of file trackpoint.h.
#define TP_READ_ID 0xE1 /* Sent for device identification */ |
Definition at line 23 of file trackpoint.h.
#define TP_READ_MEM 0x80 /* Not used in this implementation */ |
Definition at line 52 of file trackpoint.h.
#define TP_RECALIB 0x51 /* Recalibrate */ |
Definition at line 31 of file trackpoint.h.
#define TP_SENS 0x4A /* Sensitivity */ |
Definition at line 57 of file trackpoint.h.
#define TP_SET_HARD_TRANS 0x45 /* Mode can only be set */ |
Definition at line 45 of file trackpoint.h.
#define TP_SET_SOFT_TRANS 0x4E /* Set mode */ |
Definition at line 43 of file trackpoint.h.
#define TP_SPEED 0x60 /* Speed of TP Cursor */ |
Definition at line 60 of file trackpoint.h.
#define TP_THRESH 0x5C /* Minimum value for a Z-axis press */ |
Definition at line 69 of file trackpoint.h.
#define TP_TOGGLE 0x47 /* Toggle command */ |
Definition at line 77 of file trackpoint.h.
#define TP_TOGGLE_BURST 0x28 /* Burst Mode */ |
Definition at line 85 of file trackpoint.h.
#define TP_TOGGLE_DRIFT 0x23 /* Drift Correction */ |
Definition at line 83 of file trackpoint.h.
#define TP_TOGGLE_EXT_DEV 0x23 /* Disable external device */ |
Definition at line 81 of file trackpoint.h.
#define TP_TOGGLE_EXT_TAG |
Definition at line 99 of file trackpoint.h.
#define TP_TOGGLE_HARD_TRANS 0x2C /* Alternate method to set Hard Transparency */ |
Definition at line 89 of file trackpoint.h.
#define TP_TOGGLE_MB 0x23 /* Disable/Enable Middle Button */ |
Definition at line 79 of file trackpoint.h.
#define TP_TOGGLE_PTSON 0x2C /* Press to Select */ |
Definition at line 87 of file trackpoint.h.
#define TP_TOGGLE_SKIPBACK 0x2D /* Suppress movement after drag release */ |
Definition at line 95 of file trackpoint.h.
#define TP_TOGGLE_SOURCE_TAG |
Definition at line 97 of file trackpoint.h.
#define TP_TOGGLE_STICKY_TWO 0x2D /* Sticky two handed */ |
Definition at line 93 of file trackpoint.h.
#define TP_TOGGLE_TWOHAND 0x2D /* Two handed */ |
Definition at line 91 of file trackpoint.h.
#define TP_UP_THRESH 0x5A /* Used to generate a 'click' on Z-axis */ |
Definition at line 70 of file trackpoint.h.
#define TP_WRITE_MEM 0x81 |
Definition at line 51 of file trackpoint.h.
#define TP_Z_TIME 0x5E /* How sharp of a press */ |
Definition at line 71 of file trackpoint.h.