aboutsummaryrefslogtreecommitdiffstats
path: root/doc/codesnippets/doc/src/snippets/code/doc_src_emb-pointer.qdoc
blob: 37eb9c68f1d6f500a0d0f908741d0f83ec041588 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//! [0]
   <qtopia-root-dir>/qtopiacore/qt/configure -embedded -help |grep -a1 mouse
//! [0]


//! [1]
   ./configure -extra-qtopiacore-config -qt-mouse-tslib
//! [1]


//! [2]
   ./configure -help
//! [2]


//! [3]
   configure -qt-mouse-tslib
//! [3]


//! [4]
export QWS_MOUSE_PROTO=<driver>[:<driver specific options>]
//! [4]


//! [5]
export QWS_MOUSE_PROTO="<driver>[:<driver specific options>]
        <driver>[:<driver specific options>]
        <driver>[:<driver specific options>]"
//! [5]


//! [6]
export QWS_MOUSE_PROTO="Vr41xx:press=500:/dev/misc/ts"
//! [6]


//! [7]
./configure  -L <path to tslib library> -I <path to tslib headers>
//! [7]


//! [8]
module_raw input
module linear
//! [8]


//! [9]
QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mouse0
//! [9]


//! [10]
cat /dev/input/mouse0 | hexdump
//! [10]


//! [11]
QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mouse0
//! [11]


//! [12]
chmod a+rw /dev/input/mouse0
//! [12]