2 from traceback
import print_exc
4 print "Importing PyX52... ",
13 x52types
= {PyX52
.TYPE_X52
: "X52", PyX52
.TYPE_X52PRO
: "X52 Pro", PyX52
.TYPE_YOKE
: "Yoke"}
17 print "Creating PyX52.X52... ",
27 print "Detecting X52 device type... ",
28 typestr
= x52types
[x52
.gettype()]
35 print "X52 device type: [ %s ]" % typestr