Explorar o código

bump versions and set bt trigger to use keys from ble remote

MX %!s(int64=2) %!d(string=hai) anos
pai
achega
2e6bfc11c7
Modificáronse 2 ficheiros con 5 adicións e 5 borrados
  1. 1 1
      application.fam
  2. 4 4
      bt_trigger.h

+ 1 - 1
application.fam

@@ -11,6 +11,6 @@ App(
     fap_icon_assets="assets",
     fap_icon_assets="assets",
     fap_author="@Nem0oo",
     fap_author="@Nem0oo",
     fap_weburl="https://github.com/Nem0oo/flipper-zero-bluetooth-trigger",
     fap_weburl="https://github.com/Nem0oo/flipper-zero-bluetooth-trigger",
-    fap_version="1.1",
+    fap_version="1.2",
     fap_description="Control your smartphone camera via your Flipper Zero",
     fap_description="Control your smartphone camera via your Flipper Zero",
 )
 )

+ 4 - 4
bt_trigger.h

@@ -15,17 +15,17 @@
 #include <dolphin/dolphin.h>
 #include <dolphin/dolphin.h>
 #include "bt_trigger_icons.h"
 #include "bt_trigger_icons.h"
 
 
-#define HID_BT_KEYS_STORAGE_PATH EXT_PATH("apps_data/bt_trigger/hid.keys")
+#define HID_BT_KEYS_STORAGE_PATH EXT_PATH("apps_data/hid_ble/.bt_hid.keys")
 #define TAG "bt_trigger"
 #define TAG "bt_trigger"
 
 
-//Enum of allowed event types
+// Enum of allowed event types
 typedef enum {
 typedef enum {
     EventTypeTick,
     EventTypeTick,
     EventTypeInput,
     EventTypeInput,
 
 
 } EventType;
 } EventType;
 
 
-//Struct to store an event and its type
+// Struct to store an event and its type
 typedef struct {
 typedef struct {
     EventType type;
     EventType type;
     InputEvent input;
     InputEvent input;
@@ -40,7 +40,7 @@ typedef struct {
     bool running;
     bool running;
     bool shooting;
     bool shooting;
     int shots;
     int shots;
-    int delay; //in ms
+    int delay; // in ms
 } AppStruct;
 } AppStruct;
 
 
 static void draw_callback(Canvas* canvas, void* ctx);
 static void draw_callback(Canvas* canvas, void* ctx);