mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-08 05:39:09 -07:00
- Keybinds in own code helper files - Keybinds as flipper format, loaded only when ran, no limit on length - Migrate from old keybinds - Merge desktop settings refactors after LFS removal PR - Statusbar clock setting in desktop settings like OFW - Hand orient setting in system settings like OFW
25 lines
525 B
C
25 lines
525 B
C
#pragma once
|
|
|
|
#include <furi.h>
|
|
#include <input/input.h>
|
|
|
|
#include "desktop_settings.h"
|
|
|
|
#define RECORD_DESKTOP "desktop"
|
|
|
|
typedef struct Desktop Desktop;
|
|
|
|
typedef struct {
|
|
bool locked;
|
|
} DesktopStatus;
|
|
|
|
bool desktop_api_is_locked(Desktop* instance);
|
|
|
|
void desktop_api_unlock(Desktop* instance);
|
|
|
|
FuriPubSub* desktop_api_get_status_pubsub(Desktop* instance);
|
|
|
|
void desktop_api_get_settings(Desktop* instance, DesktopSettings* settings);
|
|
|
|
void desktop_api_set_settings(Desktop* instance, const DesktopSettings* settings);
|