MX пре 2 година
родитељ
комит
f444e8c34c

+ 1 - 1
ReadMe.md

@@ -198,7 +198,7 @@ The Flipper and its community wouldn't be as rich as it is without your contribu
 | NRF24 Sniffer MS | ![GPIO Badge] | [by coded-with-claws](https://github.com/coded-with-claws/flipperzero-tools) | read more details in original repo | ![None Badge] |
 | NRF24 Mouse Jacker MS | ![GPIO Badge] | [by coded-with-claws](https://github.com/coded-with-claws/flipperzero-tools) | read more details in original repo | ![None Badge] |
 | SD-SPI | ![GPIO Badge] | [by Gl1tchub](https://github.com/Gl1tchub/Flipperzero-SD-SPI) | read more details in original repo | ![None Badge] |
-| Motion Mouse | ![GPIO Badge] | [by nminaylov](https://github.com/flipperdevices/flipperzero-good-faps/pull/83/files) | read more details in [original repo](https://github.com/flipperdevices/flipperzero-good-faps/pull/83/files) | ![None Badge] |
+| ICM42688 Air Mouse | ![GPIO Badge] | [by nminaylov](https://github.com/flipperdevices/flipperzero-good-faps/pull/83/files) | read more details in [original repo](https://github.com/flipperdevices/flipperzero-good-faps/pull/83/files) | ![None Badge] |
 | WS2812B LED Tester | ![GPIO Badge] | [by jamisonderek](https://github.com/jamisonderek/flipper-zero-tutorials/tree/main/gpio/ws2812b_tester) | read more details in [original repo](https://github.com/jamisonderek/flipper-zero-tutorials/tree/main/gpio/ws2812b_tester) | ![None Badge] |
 | IR Remote | ![IR Badge] | [by Hong5489](https://github.com/Hong5489/ir_remote) | improvements [by friebel](https://github.com/RogueMaster/flipperzero-firmware-wPlugins/pull/535) - Hold Option, RAW support [by d4ve10](https://github.com/d4ve10/ir_remote/tree/infrared_hold_option) | ![None Badge] |
 | IR Intervalometer | ![IR Badge] | [by Nitepone](https://github.com/Nitepone/flipper-intervalometer) |  | [![UFW Badge]](https://lab.flipper.net/apps/sony_intervalometer) |

+ 3 - 3
non_catalog_apps/motion_mouse/motion_mouse_app.c → non_catalog_apps/air_mouse_ofw/air_mouse_app.c

@@ -3,7 +3,7 @@
 #include <gui/gui.h>
 #include <dialogs/dialogs.h>
 #include "imu_mouse.h"
-#include "motion_mouse_icons.h"
+#include "air_mouse_icons.h"
 
 #define TAG "SensorModule"
 
@@ -29,7 +29,7 @@ static void render_callback(Canvas* canvas, void* ctx) {
     canvas_draw_icon(canvas, 83 + 14, 11, &I_Right_mouse_icon_9x9);
 
     canvas_set_font(canvas, FontPrimary);
-    canvas_draw_str(canvas, 0, 14, "Motion Mouse");
+    canvas_draw_str(canvas, 0, 14, "Air Mouse");
     canvas_set_font(canvas, FontSecondary);
     canvas_draw_str(canvas, 0, 56, "Press Back to exit");
 }
@@ -82,7 +82,7 @@ static void sensor_module_free(SensorModuleApp* app) {
     free(app);
 }
 
-int32_t motion_mouse_app(void* arg) {
+int32_t air_mouse_app(void* arg) {
     UNUSED(arg);
     SensorModuleApp* app = sensor_module_alloc();
 

BIN
non_catalog_apps/air_mouse_ofw/airmouse_10x10.png


+ 10 - 0
non_catalog_apps/air_mouse_ofw/application.fam

@@ -0,0 +1,10 @@
+App(
+    appid="air_mouse_ofw",
+    name="[ICM42688] Air Mouse",
+    apptype=FlipperAppType.EXTERNAL,
+    entry_point="air_mouse_app",
+    stack_size=4 * 1024,
+    fap_icon="airmouse_10x10.png",
+    fap_icon_assets="assets",
+    fap_category="GPIO",
+)

+ 0 - 0
non_catalog_apps/motion_mouse/assets/Circles_47x47.png → non_catalog_apps/air_mouse_ofw/assets/Circles_47x47.png


+ 0 - 0
non_catalog_apps/motion_mouse/assets/Left_mouse_icon_9x9.png → non_catalog_apps/air_mouse_ofw/assets/Left_mouse_icon_9x9.png


+ 0 - 0
non_catalog_apps/motion_mouse/assets/Right_mouse_icon_9x9.png → non_catalog_apps/air_mouse_ofw/assets/Right_mouse_icon_9x9.png


+ 0 - 0
non_catalog_apps/motion_mouse/imu_mouse.c → non_catalog_apps/air_mouse_ofw/imu_mouse.c


+ 0 - 0
non_catalog_apps/motion_mouse/imu_mouse.h → non_catalog_apps/air_mouse_ofw/imu_mouse.h


+ 0 - 0
non_catalog_apps/motion_mouse/sensors/ICM42688P.c → non_catalog_apps/air_mouse_ofw/sensors/ICM42688P.c


+ 0 - 0
non_catalog_apps/motion_mouse/sensors/ICM42688P.h → non_catalog_apps/air_mouse_ofw/sensors/ICM42688P.h


+ 0 - 0
non_catalog_apps/motion_mouse/sensors/ICM42688P_regs.h → non_catalog_apps/air_mouse_ofw/sensors/ICM42688P_regs.h


+ 0 - 9
non_catalog_apps/motion_mouse/application.fam

@@ -1,9 +0,0 @@
-App(
-    appid="motion_mouse",
-    name="[ICM42688] Motion Mouse",
-    apptype=FlipperAppType.EXTERNAL,
-    entry_point="motion_mouse_app",
-    stack_size=4 * 1024,
-    fap_icon_assets="assets",
-    fap_category="GPIO",
-)