mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Support Cross Remote in Favorites/Archive
This commit is contained in:
@@ -36,6 +36,7 @@ static const char* known_ext[] = {
|
||||
[ArchiveFileTypeBadUsb] = ".txt",
|
||||
[ArchiveFileTypeWAV] = ".wav",
|
||||
[ArchiveFileTypeMag] = ".mag",
|
||||
[ArchiveFileTypeCrossRemote] = ".xr",
|
||||
[ArchiveFileTypeU2f] = "?",
|
||||
[ArchiveFileTypeApplication] = ".fap",
|
||||
[ArchiveFileTypeJS] = ".js",
|
||||
|
||||
@@ -21,6 +21,7 @@ typedef enum {
|
||||
ArchiveFileTypeBadUsb,
|
||||
ArchiveFileTypeWAV,
|
||||
ArchiveFileTypeMag,
|
||||
ArchiveFileTypeCrossRemote,
|
||||
ArchiveFileTypeU2f,
|
||||
ArchiveFileTypeApplication,
|
||||
ArchiveFileTypeJS,
|
||||
|
||||
@@ -35,6 +35,8 @@ const char* archive_get_flipper_app_name(ArchiveFileTypeEnum file_type) {
|
||||
return EXT_PATH("apps/Media/wav_player.fap");
|
||||
case ArchiveFileTypeMag:
|
||||
return EXT_PATH("apps/GPIO/magspoof.fap");
|
||||
case ArchiveFileTypeCrossRemote:
|
||||
return EXT_PATH("apps/Infrared/xremote.fap");
|
||||
case ArchiveFileTypeU2f:
|
||||
return "U2F";
|
||||
case ArchiveFileTypeUpdateManifest:
|
||||
|
||||
@@ -36,6 +36,7 @@ static const Icon* ArchiveItemIcons[] = {
|
||||
[ArchiveFileTypeBadUsb] = &I_badusb_10px,
|
||||
[ArchiveFileTypeWAV] = &I_music_10px,
|
||||
[ArchiveFileTypeMag] = &I_mag_card_10px,
|
||||
[ArchiveFileTypeCrossRemote] = &I_xremote_10px,
|
||||
[ArchiveFileTypeU2f] = &I_u2f_10px,
|
||||
[ArchiveFileTypeApplication] = &I_Apps_10px,
|
||||
[ArchiveFileTypeJS] = &I_js_script_10px,
|
||||
|
||||
BIN
assets/icons/Archive/xremote_10px.png
Normal file
BIN
assets/icons/Archive/xremote_10px.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.6 KiB |
@@ -4218,6 +4218,7 @@ Variable,+,I_volup_24x21,const Icon,
|
||||
Variable,+,I_volup_hover_24x21,const Icon,
|
||||
Variable,+,I_white_19x20,const Icon,
|
||||
Variable,+,I_white_hover_19x20,const Icon,
|
||||
Variable,+,I_xremote_10px,const Icon,
|
||||
Variable,-,MSIRangeTable,const uint32_t[16],
|
||||
Variable,-,SmpsPrescalerTable,const uint32_t[4][6],
|
||||
Variable,+,SystemCoreClock,uint32_t,
|
||||
|
||||
|
Reference in New Issue
Block a user