Touchatag.block.tag event type to boolean

tag-event-type-to-boolean

tag-event-type-to-boolean
"urn:touchatag:block:tag-event-type-to-boolean"

This block takes a tagevent type as input and returns three boolean values. For every type of tagevent there is a boolean output.

Example

Following specification snippet demonstrates the use of this block

 ...
 <breakdown>
      <block id="type-to-bool" ref="urn:touchatag:block:tag-event-type-to-boolean"/>
 </breakdown>
 <wiringscheme>
      <shunt from="tag-event-type-in" to="type-to-bool:in"/>
 </wiringscheme>
 ...
 

If a PUT tagevent is triggered, the block will have following output:

  • is-put-event-out : true
  • is-touch-event-out : false
  • is-remove-event-out : false
<block id="tag-event-type-to-boolean" 
    ref="urn:touchatag:block:tag-event-type-to-boolean"/>