mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
added cmsis_core, furi, mlib and nanobake implemented basic app structure from furi implemented basic placeholder apps
27 lines
565 B
C
27 lines
565 B
C
#pragma once
|
|
|
|
#include "nb_display.h"
|
|
#include "nb_touch.h"
|
|
#include "nb_app.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef nb_touch_driver_t (*create_touch_driver)();
|
|
typedef nb_display_driver_t (*create_display_driver)();
|
|
|
|
typedef struct nb_config nb_config_t;
|
|
struct nb_config {
|
|
// Required driver for display
|
|
const create_display_driver _Nonnull display_driver;
|
|
// Optional driver for touch input
|
|
const create_touch_driver _Nullable touch_driver;
|
|
// List of user applications
|
|
const nb_app_t* apps[];
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|