mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
Proper distinction between user and ID/BT_ID configs All init and deinit handled centrally in a cleaner way Moved USB HID config to be handled this way too Changing config doesn't reload the script file, less error/crash prone Remember MAC is now serial MAC +2, like bt remote has serial MAC +1
28 lines
642 B
C
28 lines
642 B
C
#pragma once
|
|
|
|
#include "scenes/bad_kb_scene.h"
|
|
#include "helpers/ducky_script.h"
|
|
|
|
#include <gui/gui.h>
|
|
#include <assets_icons.h>
|
|
#include <gui/scene_manager.h>
|
|
#include <dialogs/dialogs.h>
|
|
#include <notification/notification_messages.h>
|
|
|
|
#define BAD_KB_APP_SCRIPT_EXTENSION ".txt"
|
|
#define BAD_KB_APP_LAYOUT_EXTENSION ".kl"
|
|
|
|
typedef enum BadKbCustomEvent {
|
|
BadKbAppCustomEventTextInputDone,
|
|
BadKbAppCustomEventByteInputDone,
|
|
BadKbCustomEventErrorBack
|
|
} BadKbCustomEvent;
|
|
|
|
typedef enum {
|
|
BadKbAppViewWidget,
|
|
BadKbAppViewWork,
|
|
BadKbAppViewVarItemList,
|
|
BadKbAppViewByteInput,
|
|
BadKbAppViewTextInput
|
|
} BadKbAppView;
|