<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Patryk Benderz schrieb:
<blockquote cite="mid:1252568743.24004.50.camel@ESP-PATBEN-LIN"
type="cite">
<pre wrap="">[cut]
</pre>
<blockquote type="cite">
<pre wrap="">Basically, it's sending you a string whenever the orientation changes. Valid
substrings contain "portrait", "landscape", "faceup", "facedown".
</pre>
</blockquote>
<pre wrap=""><!---->IMHO using integers where (x,y,z) are -1,0 or 1, would be better idea.
This way you could make mathematical operations on this. Or use a
conditions like: (x=1,y>=0,z<0). There is already some info about axis
on wiki somewhere
</pre>
</blockquote>
... and for putting this together, one could make macro(tests) ot the
integers: <br>
portrait := (x,y,z) =~ (90,0,270)<br>
<br>
</body>
</html>