Skip to content

Commit 8dc6a3c

Browse files
authored
Merge pull request #1 from DarkFlippers/dev
Merge in Spectrum Analyzer changes
2 parents 0835124 + 906de7d commit 8dc6a3c

27 files changed

+144
-105
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,21 @@
1010
- The settings will be reset after returning to the main menu
1111
```
1212
* SubGHz Remote: Merged SubGHz Remote and Remote maker in one app, **use back button to access remote maker** (by @gid9798 | PR #545)
13+
* SubGHz: Replace FM15k with AM_Q in default modulations
1314
* SubGHz: Port latest OFW external radio driver, fix issues (now you can make drivers for other radio chips) (by @gid9798 | PR #539 #536 #535 #534)
1415
* GUI module: SubMenu fix vertical orientation (by @gid9798 | PR #543)
1516
* Apps: After merge fixes (by @gid9798 | PR #537)
1617
* Docs: Update docs for debug build and update vscode example, please remove `debug_pack` target if you had it in your workflow
1718
* Infrared: Updated universal remote assets (by @amec0e | PR #544 #546)
19+
* Plugins: Barcode app - embed assets (encoding tables) in plugin
1820
* Plugins: NRF24 plugins -> Updates by @Sil333033 with some changes by @xMasterX -> furi_hal_speaker direct calls was removed and replaced with notification service to avoid bypassing of user set silent mode -> What was changed - NRF24 connection check added, app folders was moved (uses migrate, all done automatically), and mousejacker now uses badusb folder for badusb scripts
1921
* Plugins: Added Camera Suite GPIO application for the ESP32-CAM module. [(by CodyTolene)](https://github.com/CodyTolene/Flipper-Zero-Camera-Suite) (PR #541)
2022
* Plugins: Updated ESP32: WiFi Marauder companion plugin [(by 0xchocolate)](https://github.com/0xchocolate/flipperzero-wifi-marauder)
2123
* Plugins: Updated **NFC Maker** plugin (make tags with URLs, Wifi and other things) [(by Willy-JL)](https://github.com/ClaraCrazy/Flipper-Xtreme/tree/dev/applications/external/nfc_maker)
2224
* Plugins: Updated **Mifare Nested** [(by AloneLiberty)](https://github.com/AloneLiberty/FlipperNested)
2325
* Plugins: Updated Lightmeter [(by oleksiikutuzov)](https://github.com/oleksiikutuzov/flipperzero-lightmeter)
2426
* Plugins: Updated **Multi (RFID/iButton) Fuzzer** [(by @gid9798)](https://github.com/DarkFlippers/Multi_Fuzzer)
27+
* OFW PR: faploader: always create app dir, even if it doesn't have subdirs (by @hedger)
2528
* OFW: Gauge initialization routine refactoring, new DataMemory layout, configuration update
2629
* OFW: fbt: `build` target for faps
2730
* OFW: IButton: on delete scene key name not fully display if so long

applications/external/barcode_gen/application.fam

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ App(
88
fap_category="Tools",
99
fap_icon="images/barcode_10.png",
1010
fap_icon_assets="images",
11-
fap_icon_assets_symbol="barcode_app",
11+
fap_file_assets="barcode_encoding_files",
1212
fap_author="@Kingal1337",
1313
fap_weburl="https://github.com/Kingal1337/flipper-barcode-generator",
14-
fap_version="1.0",
14+
fap_version="1.1",
1515
fap_description="App allows you to display various barcodes on flipper screen",
1616
)

applications/external/barcode_gen/barcode_app.h

+4-7
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,17 @@
2323
#define BARCODE_HEIGHT 50
2424
#define BARCODE_Y_START 3
2525

26-
//the folder where the encodings are located
27-
#define BARCODE_DATA_FILE_DIR_PATH EXT_PATH("apps_data/barcode_data")
28-
2926
//the folder where the codabar encoding table is located
30-
#define CODABAR_DICT_FILE_PATH BARCODE_DATA_FILE_DIR_PATH "/codabar_encodings.txt"
27+
#define CODABAR_DICT_FILE_PATH APP_ASSETS_PATH("codabar_encodings.txt")
3128

3229
//the folder where the code 39 encoding table is located
33-
#define CODE39_DICT_FILE_PATH BARCODE_DATA_FILE_DIR_PATH "/code39_encodings.txt"
30+
#define CODE39_DICT_FILE_PATH APP_ASSETS_PATH("code39_encodings.txt")
3431

3532
//the folder where the code 128 encoding table is located
36-
#define CODE128_DICT_FILE_PATH BARCODE_DATA_FILE_DIR_PATH "/code128_encodings.txt"
33+
#define CODE128_DICT_FILE_PATH APP_ASSETS_PATH("code128_encodings.txt")
3734

3835
//the folder where the code 128 C encoding table is located
39-
#define CODE128C_DICT_FILE_PATH BARCODE_DATA_FILE_DIR_PATH "/code128c_encodings.txt"
36+
#define CODE128C_DICT_FILE_PATH APP_ASSETS_PATH("code128c_encodings.txt")
4037

4138
//the folder where the user stores their barcodes
4239
#define DEFAULT_USER_BARCODES EXT_PATH("apps_data/barcodes")
Loading
Loading
Loading
Loading
Loading
Loading

applications/external/hid_app/views/hid_keyboard.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -140,17 +140,17 @@ const HidKeyboardKey hid_keyboard_keyset[ROW_COUNT][COLUMN_COUNT] = {
140140
{.width = 1, .icon = &I_ButtonRight_4x7, .value = HID_KEYBOARD_RIGHT_ARROW},
141141
},
142142
{
143-
{.width = 2, .icon = NULL, .key = "Ctl", .value = HID_KEYBOARD_L_CTRL},
143+
{.width = 2, .icon = &I_KB_key_Ctl_17x10, .value = HID_KEYBOARD_L_CTRL},
144144
{.width = 0, .icon = NULL, .value = HID_KEYBOARD_L_CTRL},
145-
{.width = 2, .icon = NULL, .key = "Alt", .value = HID_KEYBOARD_L_ALT},
145+
{.width = 2, .icon = &I_KB_key_Alt_17x10, .value = HID_KEYBOARD_L_ALT},
146146
{.width = 0, .icon = NULL, .value = HID_KEYBOARD_L_ALT},
147-
{.width = 2, .icon = NULL, .key = "Cmd", .value = HID_KEYBOARD_L_GUI},
147+
{.width = 2, .icon = &I_KB_key_Cmd_17x10, .value = HID_KEYBOARD_L_GUI},
148148
{.width = 0, .icon = NULL, .value = HID_KEYBOARD_L_GUI},
149-
{.width = 2, .icon = NULL, .key = "Tab", .value = HID_KEYBOARD_TAB},
149+
{.width = 2, .icon = &I_KB_key_Tab_17x10, .value = HID_KEYBOARD_TAB},
150150
{.width = 0, .icon = NULL, .value = HID_KEYBOARD_TAB},
151-
{.width = 2, .icon = NULL, .key = "Esc", .value = HID_KEYBOARD_ESCAPE},
151+
{.width = 2, .icon = &I_KB_key_Esc_17x10, .value = HID_KEYBOARD_ESCAPE},
152152
{.width = 0, .icon = NULL, .value = HID_KEYBOARD_ESCAPE},
153-
{.width = 2, .icon = NULL, .key = "Del", .value = HID_KEYBOARD_DELETE_FORWARD},
153+
{.width = 2, .icon = &I_KB_key_Del_17x10, .value = HID_KEYBOARD_DELETE_FORWARD},
154154
{.width = 0, .icon = NULL, .value = HID_KEYBOARD_DELETE_FORWARD},
155155
},
156156
};

applications/external/hid_app/views/hid_media.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ static void hid_media_draw_callback(Canvas* canvas, void* context) {
5656
canvas_set_font(canvas, FontSecondary);
5757

5858
// Keypad circles
59-
canvas_draw_icon(canvas, 58, 3, &I_OutCircles);
59+
canvas_draw_icon(canvas, 58, 3, &I_OutCircles_70x51);
6060

6161
// Up
6262
if(model->up_pressed) {
6363
canvas_set_bitmap_mode(canvas, 1);
64-
canvas_draw_icon(canvas, 68, 6, &I_S_UP);
64+
canvas_draw_icon(canvas, 68, 6, &I_S_UP_31x15);
6565
canvas_set_bitmap_mode(canvas, 0);
6666
canvas_set_color(canvas, ColorWhite);
6767
}
@@ -71,7 +71,7 @@ static void hid_media_draw_callback(Canvas* canvas, void* context) {
7171
// Down
7272
if(model->down_pressed) {
7373
canvas_set_bitmap_mode(canvas, 1);
74-
canvas_draw_icon(canvas, 68, 36, &I_S_DOWN);
74+
canvas_draw_icon(canvas, 68, 36, &I_S_DOWN_31x15);
7575
canvas_set_bitmap_mode(canvas, 0);
7676
canvas_set_color(canvas, ColorWhite);
7777
}
@@ -81,7 +81,7 @@ static void hid_media_draw_callback(Canvas* canvas, void* context) {
8181
// Left
8282
if(model->left_pressed) {
8383
canvas_set_bitmap_mode(canvas, 1);
84-
canvas_draw_icon(canvas, 61, 13, &I_S_LEFT);
84+
canvas_draw_icon(canvas, 61, 13, &I_S_LEFT_15x31);
8585
canvas_set_bitmap_mode(canvas, 0);
8686
canvas_set_color(canvas, ColorWhite);
8787
}
@@ -92,7 +92,7 @@ static void hid_media_draw_callback(Canvas* canvas, void* context) {
9292
// Right
9393
if(model->right_pressed) {
9494
canvas_set_bitmap_mode(canvas, 1);
95-
canvas_draw_icon(canvas, 91, 13, &I_S_RIGHT);
95+
canvas_draw_icon(canvas, 91, 13, &I_S_RIGHT_15x31);
9696
canvas_set_bitmap_mode(canvas, 0);
9797
canvas_set_color(canvas, ColorWhite);
9898
}

applications/external/hid_app/views/hid_mouse.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ static void hid_mouse_draw_callback(Canvas* canvas, void* context) {
4949
}
5050

5151
// Keypad circles
52-
canvas_draw_icon(canvas, 58, 3, &I_OutCircles);
52+
canvas_draw_icon(canvas, 58, 3, &I_OutCircles_70x51);
5353

5454
// Up
5555
if(model->up_pressed) {
5656
canvas_set_bitmap_mode(canvas, 1);
57-
canvas_draw_icon(canvas, 68, 6, &I_S_UP);
57+
canvas_draw_icon(canvas, 68, 6, &I_S_UP_31x15);
5858
canvas_set_bitmap_mode(canvas, 0);
5959
canvas_set_color(canvas, ColorWhite);
6060
}
@@ -64,7 +64,7 @@ static void hid_mouse_draw_callback(Canvas* canvas, void* context) {
6464
// Down
6565
if(model->down_pressed) {
6666
canvas_set_bitmap_mode(canvas, 1);
67-
canvas_draw_icon(canvas, 68, 36, &I_S_DOWN);
67+
canvas_draw_icon(canvas, 68, 36, &I_S_DOWN_31x15);
6868
canvas_set_bitmap_mode(canvas, 0);
6969
canvas_set_color(canvas, ColorWhite);
7070
}
@@ -74,7 +74,7 @@ static void hid_mouse_draw_callback(Canvas* canvas, void* context) {
7474
// Left
7575
if(model->left_pressed) {
7676
canvas_set_bitmap_mode(canvas, 1);
77-
canvas_draw_icon(canvas, 61, 13, &I_S_LEFT);
77+
canvas_draw_icon(canvas, 61, 13, &I_S_LEFT_15x31);
7878
canvas_set_bitmap_mode(canvas, 0);
7979
canvas_set_color(canvas, ColorWhite);
8080
}
@@ -84,7 +84,7 @@ static void hid_mouse_draw_callback(Canvas* canvas, void* context) {
8484
// Right
8585
if(model->right_pressed) {
8686
canvas_set_bitmap_mode(canvas, 1);
87-
canvas_draw_icon(canvas, 91, 13, &I_S_RIGHT);
87+
canvas_draw_icon(canvas, 91, 13, &I_S_RIGHT_15x31);
8888
canvas_set_bitmap_mode(canvas, 0);
8989
canvas_set_color(canvas, ColorWhite);
9090
}

applications/external/hid_app/views/hid_tikshorts.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static void hid_tikshorts_draw_callback(Canvas* canvas, void* context) {
4242
canvas_set_font(canvas, FontSecondary);
4343

4444
// Keypad circles
45-
canvas_draw_icon(canvas, 58, 3, &I_OutCircles);
45+
canvas_draw_icon(canvas, 58, 3, &I_OutCircles_70x51);
4646

4747
// Pause
4848
if(model->back_mouse_pressed) {
@@ -57,7 +57,7 @@ static void hid_tikshorts_draw_callback(Canvas* canvas, void* context) {
5757
// Up
5858
if(model->up_pressed) {
5959
canvas_set_bitmap_mode(canvas, 1);
60-
canvas_draw_icon(canvas, 68, 6, &I_S_UP);
60+
canvas_draw_icon(canvas, 68, 6, &I_S_UP_31x15);
6161
canvas_set_bitmap_mode(canvas, 0);
6262
canvas_set_color(canvas, ColorWhite);
6363
}
@@ -67,7 +67,7 @@ static void hid_tikshorts_draw_callback(Canvas* canvas, void* context) {
6767
// Down
6868
if(model->down_pressed) {
6969
canvas_set_bitmap_mode(canvas, 1);
70-
canvas_draw_icon(canvas, 68, 36, &I_S_DOWN);
70+
canvas_draw_icon(canvas, 68, 36, &I_S_DOWN_31x15);
7171
canvas_set_bitmap_mode(canvas, 0);
7272
canvas_set_color(canvas, ColorWhite);
7373
}
@@ -77,7 +77,7 @@ static void hid_tikshorts_draw_callback(Canvas* canvas, void* context) {
7777
// Left
7878
if(model->left_pressed) {
7979
canvas_set_bitmap_mode(canvas, 1);
80-
canvas_draw_icon(canvas, 61, 13, &I_S_LEFT);
80+
canvas_draw_icon(canvas, 61, 13, &I_S_LEFT_15x31);
8181
canvas_set_bitmap_mode(canvas, 0);
8282
canvas_set_color(canvas, ColorWhite);
8383
}
@@ -87,7 +87,7 @@ static void hid_tikshorts_draw_callback(Canvas* canvas, void* context) {
8787
// Right
8888
if(model->right_pressed) {
8989
canvas_set_bitmap_mode(canvas, 1);
90-
canvas_draw_icon(canvas, 91, 13, &I_S_RIGHT);
90+
canvas_draw_icon(canvas, 91, 13, &I_S_RIGHT_15x31);
9191
canvas_set_bitmap_mode(canvas, 0);
9292
canvas_set_color(canvas, ColorWhite);
9393
}

applications/external/mousejacker/mousejacker.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#define TAG "mousejacker"
1717
#define LOGITECH_MAX_CHANNEL 85
18-
#define NRFSNIFF_APP_PATH_FOLDER_ADDRESSES EXT_PATH("apps_data/nrf24sniff/addresses.txt")
18+
#define NRFSNIFF_APP_PATH_FOLDER_ADDRESSES EXT_PATH("apps_data/nrf24_sniffer/addresses.txt")
1919
#define LOCAL_BADUSB_FOLDER EXT_PATH("badusb")
2020
#define MOUSEJACKER_APP_PATH_EXTENSION ".txt"
2121
#define MAX_ADDRS 100

0 commit comments

Comments
 (0)