SCPTbuttonHoldAction

Overview:

Button held action..  Button action definition used to create a button held action array, with an entry per button. 

Details:

Resource Set: Standard 00:00:00:00:00:00:00:00-0
Index: 314
Obsolete: no
Size: 2
Programmatic Name: SCPTbuttonHoldAction
Default: BTA_TOGGLE_STATE 0,0
Neuron C Type:
Structure
actionButton action..  Button action for the associated button. 
 
button_action_t
settingValue..  Value for button actions that require a numeric value. 
 
Union
scene_numberScene number..  Specified scene number for the toggle and set scene actions. 
 
unsigned short
Minimum: 1
Maximum: 255
Invalid: 0
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
group_numberGroup number..  Specified group number for the toggle, enable, and disable group actions. 
 
unsigned short
Minimum: 0
Maximum: 64
Invalid: 255
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
valueSetting..  Setting level. Specifies an absoloute level for the Set Level action. Specifies a relative level for the Increase, Decrease, Move Open, Move Closed, Rotate Open, and Rotate Closed actions.  
 
unsigned short
Minimum: 0
Maximum: 200
Invalid: 255
Scaling (A,B,C): 5,  -1,  0
Scaled value: 5 *10 -1 *(Raw+0)
Resolution: 0.5
angle  (degrees) .   
 
unsigned short
Minimum: 0
Maximum: 180
Invalid: 255
Scaling (A,B,C): 2,  0,  0
Scaled value: 2 *10 0 *(Raw+0)
Resolution: 2
Formats:

SCPTbuttonHoldAction:  text(("%m ", action),((action == 1) ? ("%d ", setting.scene_number) :((action == 3) ? ("%d ", setting.scene_number) :((action == 15) ? ("d ", setting.angle) :((action == 16) ? ("%d ", setting.angle) :((action == 17) ? ("%d ", setting.angle) :((action == 20) ? ("%d ", setting.scene_number) :((action == 34) ? ("%d ", setting.group_number) :((action == 35) ? ("%d ", setting.group_number) :((action == 36) ? ("%d ", setting.group_number) :((action == 255) ? ("UNKNOWN ") :("%f ", setting.value))))))))))))