mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-14 03:20:22 +00:00
[client] overlay: move keybinds and config into the overlays
This adds a new `earlyInit` call which allows the overlay to register options before actually being intialized. Also the keybind handling and state tracking for each overlay has been moved internal to the overlay itself.
This commit is contained in:
@@ -46,7 +46,7 @@ OverlayConfig;
|
||||
|
||||
static OverlayConfig cfg = { 0 };
|
||||
|
||||
static bool config_init(void ** udata, void * params)
|
||||
static bool config_init(void ** udata, const void * params)
|
||||
{
|
||||
cfg.callbacks = ll_new();
|
||||
if (!cfg.callbacks)
|
||||
|
Reference in New Issue
Block a user