Difference between revisions of "SHIP:Constants:TOUCH"

From Serious Documentation
Jump to: navigation, search
 
Line 4: Line 4:
 
* {{Const|TOUCH|TOUCH.MV}} - move event
 
* {{Const|TOUCH|TOUCH.MV}} - move event
  
These {{Node|constant|constants}} can be referenced with their full names in the format "'''platform.TOUCH0.TOUCH.DN'''", where "TOUCH0" is the name of the {{Port|touch}} port on your [[SIMs|SIM]] platform (see your SIM's [[SHIP:GRMs|GRM]]).
+
These {{Node|constant|constants}} can be referenced with their full names in the format "'''platform.TOUCH0.TOUCH.DN'''", where "TOUCH0" is the {{Prop|all|name}} of the {{Port|touch}} port on your [[SIMs|SIM]] platform (see your SIM's [[SHIP:GRMs|GRM]]).
  
However, it is recommended that you do not create any other node in your GUI with the exact name "TOUCH" so that you reference these in short form like '''TOUCH.DN''' etc.
+
However, it is recommended that you do not create any other node with the exact name "TOUCH" so that you may reference these in short form as '''TOUCH.DN''' etc.

Latest revision as of 11:01, 1 February 2013

The name TOUCH refers to a group of constants used to abstract and simplify discernment of the specific type of touch event. The constants in this group are:

These constants can be referenced with their full names in the format "platform.TOUCH0.TOUCH.DN", where "TOUCH0" is the name of the touch port on your SIM platform (see your SIM's GRM).

However, it is recommended that you do not create any other node with the exact name "TOUCH" so that you may reference these in short form as TOUCH.DN etc.