Aurora User Docs

Timer Key Layer


Last updated 10.01.2024

The timer layer waits for one or more keys to be pressed (do not have to be the keys displaying the lights) and sets the color of the keys to be something else for a set duration, after which they return to their original color. This layer can be used for things such as ability timers for games that have no game state integration.

A timer layer on the alphabetical keys

Properties

NameDescription
Default ColorThe color that the keys are by default and when the timer is not active.
Active ColorThe color the keys turn when one of the triggers has been pressed.
DurationThe duration (in milliseconds) that the timer takes.
Animation Type
  • OnOff - When the trigger is pressed, the Affected Keys turn to active color and stays there for the Duration then immediately goes back to default.
  • Fade - When the trigger is pressed, the Affected Keys turn to active colors and then slowly fades back to the default color.
Repeat Action
  • Reset - When a trigger is pressed while the timer is running, it will restart the timer anew.
  • Extend - When a trigger is pressed while the timer is running, it will extend the timer by Duration. E.G. if duration is 5000ms, and you press a trigger again 3000ms after pressing it for a first time, it would take 8000ms from the second press to completely reset.
  • Ignore - If a trigger is pressed while the timer is running, nothing will happen. The original timer will keep running as normal.
Trigger KeysThe list of keybinds that will cause the timer to run. These keys won't light up (unless you add them to the Affected Keys)
Affected KeysThe list of keys that will light up in default or active color. These keys will not trigger the timer.

Page authored by