Skip to main content

TouchScreenKeyboard.KeyBoardEdgesInfo

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Layout data for the current virtual keyboard, used when adding extra keys to the ends of rows.

Constructors​

MemberWhat it is
KeyBoardEdgesInfo(Vector2Int[] edgeIndexPairs, Vector2Int[] rowStackSizes, float standardKeySpacing, VirtualKeyInfo[] keysInfo, int spaceKeyIndex)Creates a TouchScreenKeyboard.KeyBoardEdgesInfo from edgeIndexPairs, rowStackSizes, standardKeySpacing, keysInfo and spaceKeyIndex.

Fields​

MemberWhat it is
readonly Vector2Int[] edgeIndexPairsPer row, the key indexes of the leftmost (x) and rightmost (y) key.
readonly VirtualKeyInfo[] keysInfoKey layout info for the keyboard.
readonly Vector2Int[] rowStackSizesPer row, how many extra keys have been added on the left (x) and right (y).
readonly int spaceKeyIndexIndex of the space key, or -1. Its wider size is allowed for when placing extra keys next to it.
readonly float standardKeySpacingHorizontal distance between the first two keys, used to space extra keys.

Used in​

Members of other types that take, return or hold a KeyBoardEdgesInfo: