Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 719 Bytes

File metadata and controls

11 lines (8 loc) · 719 Bytes
uid input-system-layout-inheritance

Layout inheritance

You can derive a layout from an existing layout. This process is based on merging the information from the derived layout on top of the information that the base layout contains.

  • For layouts defined as types, the base layout is the layout of the base type (if any).
  • For layouts defined in JSON, you can specify the base layout in the extends property of the root node.
  • For layouts created in code using InputControlLayout.Builder, you can specify a base layout using InputControlLayout.Builder.Extend().