Rev 1302 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1302 | Rev 1303 | ||
|---|---|---|---|
| Line 54... | Line 54... | ||
| 54 | if (this.myLastState == "Pressed" && canMessage.getData("Status") == "Released") |
54 | if (this.myLastState == "Pressed" && canMessage.getData("Status") == "Released") |
| 55 | { |
55 | { |
| 56 | this.myLastState = "Released"; |
56 | this.myLastState = "Released"; |
| 57 | this.callEvent("rawStatus", null); |
57 | this.callEvent("rawStatus", null); |
| 58 | } |
58 | } |
| - | 59 | this.callEvent("rawTouch", null); |
|
| 59 |
|
60 | if (this.myLastState == "Released" && canMessage.getData("Status") == "Pressed") |
| 60 | { |
61 | { |
| 61 | this.myLastState = "Pressed"; |
62 | this.myLastState = "Pressed"; |
| 62 | this.callEvent("rawStatus", null); |
63 | this.callEvent("rawStatus", null); |
| 63 | } |
64 | } |
| 64 | 65 | ||
| 65 | this.callEvent("rawTouch", null); |
- | |
| 66 | break; |
66 | break; |
| 67 | } |
67 | } |
| 68 | } |
68 | } |
| 69 | 69 | ||
| 70 | this.CanService.prototype.canMessageHandler.call(this, canMessage); |
70 | this.CanService.prototype.canMessageHandler.call(this, canMessage); |