Enumeration PRESET_SVG_GPAD_CLASS

Enum holds the class names used to style & refer to various parts of the example gamepad SVGs To refer to SVG elements for specific buttons in the example gamepad SVGs, use a child query selector:

 let xButtonHighlight = gpadRootSVGElement.querySelector(PRESET_SVG_GPAD_BTN_IDS[xboxButtonMap.X] + " ." + PRESET_SVG_GPAD_CLASS.ButtonHighlight);

PRESET_SVG_GPAD_BTN_IDS NOTE: Specific button tap-targets must be queried separately using PRESET_SVG_GPAD_BTN_TAP_TARGET_IDS

Enumeration Members

ButtonBackground
ButtonHighlight
ButtonIcon
ButtonShadow
DirectionHighlight
GpadBaseShape
StickBaseShape
TapTarget
Thumbstick