Files
Momentum-Firmware/applications/main/bad_kb/bad_kb_app.h
Willy-JL e1c12282cc BadKB completely rework connection handling
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
2023-06-11 21:26:43 +01:00

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;