Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
elantech.h File Reference

Go to the source code of this file.

Data Structures

struct  finger_pos
 
struct  elantech_data
 

Macros

#define ETP_FW_ID_QUERY   0x00
 
#define ETP_FW_VERSION_QUERY   0x01
 
#define ETP_CAPABILITIES_QUERY   0x02
 
#define ETP_SAMPLE_QUERY   0x03
 
#define ETP_RESOLUTION_QUERY   0x04
 
#define ETP_REGISTER_READ   0x10
 
#define ETP_REGISTER_WRITE   0x11
 
#define ETP_REGISTER_READWRITE   0x00
 
#define ETP_PS2_CUSTOM_COMMAND   0xf8
 
#define ETP_PS2_COMMAND_TRIES   3
 
#define ETP_PS2_COMMAND_DELAY   500
 
#define ETP_READ_BACK_TRIES   5
 
#define ETP_READ_BACK_DELAY   2000
 
#define ETP_R10_ABSOLUTE_MODE   0x04
 
#define ETP_R11_4_BYTE_MODE   0x02
 
#define ETP_CAP_HAS_ROCKER   0x04
 
#define ETP_EDGE_FUZZ_V1   32
 
#define ETP_XMIN_V1   ( 0 + ETP_EDGE_FUZZ_V1)
 
#define ETP_XMAX_V1   (576 - ETP_EDGE_FUZZ_V1)
 
#define ETP_YMIN_V1   ( 0 + ETP_EDGE_FUZZ_V1)
 
#define ETP_YMAX_V1   (384 - ETP_EDGE_FUZZ_V1)
 
#define ETP_XMIN_V2   0
 
#define ETP_XMAX_V2   1152
 
#define ETP_YMIN_V2   0
 
#define ETP_YMAX_V2   768
 
#define ETP_PMIN_V2   0
 
#define ETP_PMAX_V2   255
 
#define ETP_WMIN_V2   0
 
#define ETP_WMAX_V2   15
 
#define PACKET_UNKNOWN   0x01
 
#define PACKET_DEBOUNCE   0x02
 
#define PACKET_V3_HEAD   0x03
 
#define PACKET_V3_TAIL   0x04
 
#define PACKET_V4_HEAD   0x05
 
#define PACKET_V4_MOTION   0x06
 
#define PACKET_V4_STATUS   0x07
 
#define ETP_MAX_FINGERS   5
 
#define ETP_WEIGHT_VALUE   5
 

Macro Definition Documentation

#define ETP_CAP_HAS_ROCKER   0x04

Definition at line 58 of file elantech.h.

#define ETP_CAPABILITIES_QUERY   0x02

Definition at line 21 of file elantech.h.

#define ETP_EDGE_FUZZ_V1   32

Definition at line 65 of file elantech.h.

#define ETP_FW_ID_QUERY   0x00

Definition at line 19 of file elantech.h.

#define ETP_FW_VERSION_QUERY   0x01

Definition at line 20 of file elantech.h.

#define ETP_MAX_FINGERS   5

Definition at line 101 of file elantech.h.

#define ETP_PMAX_V2   255

Definition at line 82 of file elantech.h.

#define ETP_PMIN_V2   0

Definition at line 81 of file elantech.h.

#define ETP_PS2_COMMAND_DELAY   500

Definition at line 41 of file elantech.h.

#define ETP_PS2_COMMAND_TRIES   3

Definition at line 40 of file elantech.h.

#define ETP_PS2_CUSTOM_COMMAND   0xf8

Definition at line 35 of file elantech.h.

#define ETP_R10_ABSOLUTE_MODE   0x04

Definition at line 52 of file elantech.h.

#define ETP_R11_4_BYTE_MODE   0x02

Definition at line 53 of file elantech.h.

#define ETP_READ_BACK_DELAY   2000

Definition at line 47 of file elantech.h.

#define ETP_READ_BACK_TRIES   5

Definition at line 46 of file elantech.h.

#define ETP_REGISTER_READ   0x10

Definition at line 28 of file elantech.h.

#define ETP_REGISTER_READWRITE   0x00

Definition at line 30 of file elantech.h.

#define ETP_REGISTER_WRITE   0x11

Definition at line 29 of file elantech.h.

#define ETP_RESOLUTION_QUERY   0x04

Definition at line 23 of file elantech.h.

#define ETP_SAMPLE_QUERY   0x03

Definition at line 22 of file elantech.h.

#define ETP_WEIGHT_VALUE   5

Definition at line 106 of file elantech.h.

#define ETP_WMAX_V2   15

Definition at line 84 of file elantech.h.

#define ETP_WMIN_V2   0

Definition at line 83 of file elantech.h.

#define ETP_XMAX_V1   (576 - ETP_EDGE_FUZZ_V1)

Definition at line 68 of file elantech.h.

#define ETP_XMAX_V2   1152

Definition at line 77 of file elantech.h.

#define ETP_XMIN_V1   ( 0 + ETP_EDGE_FUZZ_V1)

Definition at line 67 of file elantech.h.

#define ETP_XMIN_V2   0

Definition at line 76 of file elantech.h.

#define ETP_YMAX_V1   (384 - ETP_EDGE_FUZZ_V1)

Definition at line 70 of file elantech.h.

#define ETP_YMAX_V2   768

Definition at line 79 of file elantech.h.

#define ETP_YMIN_V1   ( 0 + ETP_EDGE_FUZZ_V1)

Definition at line 69 of file elantech.h.

#define ETP_YMIN_V2   0

Definition at line 78 of file elantech.h.

#define PACKET_DEBOUNCE   0x02

Definition at line 91 of file elantech.h.

#define PACKET_UNKNOWN   0x01

Definition at line 90 of file elantech.h.

#define PACKET_V3_HEAD   0x03

Definition at line 92 of file elantech.h.

#define PACKET_V3_TAIL   0x04

Definition at line 93 of file elantech.h.

#define PACKET_V4_HEAD   0x05

Definition at line 94 of file elantech.h.

#define PACKET_V4_MOTION   0x06

Definition at line 95 of file elantech.h.

#define PACKET_V4_STATUS   0x07

Definition at line 96 of file elantech.h.