| 22 | | |
| 23 | | = {{{accelerate}}} = |
| 24 | | |
| 25 | | Accesses the raw accelerometer data from the iphone and sends them parsed in certain formats to [send accelerate] |
| 26 | | |
| 27 | | Values that can be routed out: |
| 28 | | |
| 29 | | * pitch: pitch angle of the iphone in radian (-pi/2 to pi/2). 0=iphone lying on a table |
| 30 | | * roll: roll angle of the iphone in radian. |
| 31 | | * magnitude: amount of the overall acceleratio |
| 32 | | * x: acceleration on the x axis |
| 33 | | * y: acceleration on the y axis |
| 34 | | * z: acceleration on the z axis |
| 35 | | |
| 36 | | = {{{touch}}} = |
| 37 | | |
| 38 | | Accesses the raw touchpad data and provides it in different formats (sent to [send touch]) |
| 39 | | |
| 40 | | Values that can be routed out: |
| 41 | | |
| 42 | | * tap: this message is sent whenever a finger touches the pad |
| 43 | | * speed: gives you the speed of which each finger is drawing on the touchpad |
| 44 | | * updown: gives 1, when finger is on touchpad, 0 when it leaves |
| 45 | | * direction: gives the direction angle of which the finger is moving (radian: 0 -> pi) |
| | 87 | |
| | 88 | = Deprecated objects = |
| | 89 | |
| | 90 | The following two are abstractions that have counterparts in the [RjLibnew new "rj" library], so you should not use them anymore: |
| | 91 | |
| | 92 | = {{{accelerate}}} = |
| | 93 | |
| | 94 | Accesses the raw accelerometer data from the iphone and sends them parsed in certain formats to [send accelerate] |
| | 95 | |
| | 96 | Values that can be routed out: |
| | 97 | |
| | 98 | * pitch: pitch angle of the iphone in radian (-pi/2 to pi/2). 0=iphone lying on a table |
| | 99 | * roll: roll angle of the iphone in radian. |
| | 100 | * magnitude: amount of the overall acceleratio |
| | 101 | * x: acceleration on the x axis |
| | 102 | * y: acceleration on the y axis |
| | 103 | * z: acceleration on the z axis |
| | 104 | |
| | 105 | = {{{touch}}} = |
| | 106 | |
| | 107 | Accesses the raw touchpad data and provides it in different formats (sent to [send touch]) |
| | 108 | |
| | 109 | Values that can be routed out: |
| | 110 | |
| | 111 | * tap: this message is sent whenever a finger touches the pad |
| | 112 | * speed: gives you the speed of which each finger is drawing on the touchpad |
| | 113 | * updown: gives 1, when finger is on touchpad, 0 when it leaves |
| | 114 | * direction: gives the direction angle of which the finger is moving (radian: 0 -> pi) |