1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Updated LUA Events (markdown)

Robert Beekman 2016-11-03 21:39:43 +01:00
parent 7f1fec0f73
commit 41d168583d

@ -3,12 +3,12 @@ Within the LUA environment you can use events to react to certain things, such a
To use events you need to subscribe to them. You can subscribe to the same event more than once if you want. To use events you need to subscribe to them. You can subscribe to the same event more than once if you want.
The examples below show how subscribing works. The examples below show how subscribing works.
## Events ## Overview
* [ProfileUpdating](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#profileupdating) * [ProfileUpdating](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#profileupdating)
* [ProfileDrawing](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#profiledrawing) * [ProfileDrawing](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#profiledrawing)
* [KeyboardKeyPressed](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#keyboardkeypressed) * [KeyboardKeyPressed](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#keyboardkeypressed)
## Functions ## Events
### ProfileUpdating ### ProfileUpdating
Triggers whenever the profile is being updated. Use this event to process your own changes **before** every frame. Triggers whenever the profile is being updated. Use this event to process your own changes **before** every frame.
If you want to change the way a layer is drawn, this is a good place to do so. If you want to change the way a layer is drawn, this is a good place to do so.