Keypad Buttons

When defined, Keypad Button skins will be used as the default skin for button controls that populate when a keypad is recalled in ControlDesigner.

Note: If you do not create a Keypad Button skin, the Token Button skin will be used to create a keypad passcode object when editing with ControlDesigner. If neither skin exists in the theme, the default Button skin is used.

The following skin elements are supported by a Keypad Button:

  • Released Background - drawn underneath any text and/or icons when the button is not pressed.
  • Released Middleground - drawn between the background and foreground when the button is not pressed
  • Released Foreground - drawn above any text and/or icons when the button is not pressed down
  • Pressed Background - drawn underneath any text and/or icons when the button is pressed down
  • Pressed Middleground - drawn between the background and foreground when the button is pressed
  • Pressed Foreground - drawn above any text and/or icons when the button is pressed down.
  • Mask – see Mask Element
  • Pressed (Sound) - the sound played when the button is pressed.
  • Released (Sound) - the sound played when the button is released.

Note: A typical keypad button skin will define the released background and pressed background elements, with the pressed element indicating that the button is in some way being interacted with (example, showing a drop shadow). The foreground and middleground elements may be used to add highlights to the button.