Skip to content

input_action_colors

Source: base/tealdef/gui/main/input_action_colors.d.tl

Notes

Colours of the four face buttons of a gamepad, as a GUI resource (::/gui/main/input_action_colors.gres), used for key binding hints.

InputActionColors

record global base/tealdef/gui/main/input_action_colors.d.tl:3

global record InputActionColors

Notes

Gamepad face-button colours; read with api.gui.genericRep.get(api.gui.genericRep.find("::/gui/main/input_action_colors.gres")).data.

Fields

Name Type Description
Up GResColor Colour of the upper face button (yellow, Xbox Y).
Right GResColor Colour of the right face button (red, Xbox B).
Down GResColor Colour of the lower face button (green, Xbox A).
Left GResColor Colour of the left face button (blue, Xbox X).