Difference between revisions of "SHIP:Constants:TOUCH"

From Serious Documentation
Jump to: navigation, search
(Created page with "The name '''TOUCH''' refers to a {{Node|group}} of {{Node|constant|constants}} used to abstract and simplify discernment of the specific type of touch event. The {{Node|consta...")
 
Line 1: Line 1:
 
The name '''TOUCH''' refers to a {{Node|group}} of {{Node|constant|constants}} used to abstract and simplify discernment of the specific type of touch event. The {{Node|constant|constants}} in this group are:
 
The name '''TOUCH''' refers to a {{Node|group}} of {{Node|constant|constants}} used to abstract and simplify discernment of the specific type of touch event. The {{Node|constant|constants}} in this group are:
* {{Const|touch|TOUCH.DN}} - down event
+
* {{Const|TOUCH|TOUCH.DN}} - down event
* {{Const|touch|TOUCH.UP}} - up event
+
* {{Const|TOUCH|TOUCH.UP}} - up event
* {{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 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 in your GUI with the exact name "TOUCH" so that you reference these in short form like '''TOUCH.DN''' etc.

Revision as of 10:58, 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 in your GUI with the exact name "TOUCH" so that you reference these in short form like TOUCH.DN etc.