source: trunk/doc/src/snippets/code/doc_src_emb-pointer.qdoc@ 244

Last change on this file since 244 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 943 bytes
Line 
1//! [0]
2 <qtopia-root-dir>/qtopiacore/qt/configure -embedded -help |grep -a1 mouse
3//! [0]
4
5
6//! [1]
7 ./configure -extra-qtopiacore-config -qt-mouse-tslib
8//! [1]
9
10
11//! [2]
12 ./configure -help
13//! [2]
14
15
16//! [3]
17 configure -qt-mouse-tslib
18//! [3]
19
20
21//! [4]
22export QWS_MOUSE_PROTO=<driver>[:<driver specific options>]
23//! [4]
24
25
26//! [5]
27export QWS_MOUSE_PROTO="<driver>[:<driver specific options>]
28 <driver>[:<driver specific options>]
29 <driver>[:<driver specific options>]"
30//! [5]
31
32
33//! [6]
34export QWS_MOUSE_PROTO="Vr41xx:press=500:/dev/misc/ts"
35//! [6]
36
37
38//! [7]
39./configure -L <path to tslib library> -I <path to tslib headers>
40//! [7]
41
42
43//! [8]
44module_raw input
45module linear
46//! [8]
47
48
49//! [9]
50QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mouse0
51//! [9]
52
53
54//! [10]
55cat /dev/input/mouse0 | hexdump
56//! [10]
57
58
59//! [11]
60QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mouse0