Bläddra i källkod

return 5px movements to mouse jiggler

MX 2 år sedan
förälder
incheckning
b925047d05

+ 1 - 1
base_pack/hid_app/views/hid_mouse_jiggler.c

@@ -82,7 +82,7 @@ static void hid_mouse_jiggler_timer_callback(void* context) {
                 model->counter++;
                 model->counter++;
                 hid_hal_mouse_move(
                 hid_hal_mouse_move(
                     hid_mouse_jiggler->hid,
                     hid_mouse_jiggler->hid,
-                    (model->counter % 2 == 0) ? MOUSE_MOVE_TINY : -MOUSE_MOVE_TINY,
+                    (model->counter % 2 == 0) ? MOUSE_MOVE_SHORT : -MOUSE_MOVE_SHORT,
                     0);
                     0);
             }
             }
         },
         },

+ 1 - 1
base_pack/hid_app/views/hid_mouse_jiggler.h

@@ -2,7 +2,7 @@
 
 
 #include <gui/view.h>
 #include <gui/view.h>
 
 
-#define MOUSE_MOVE_TINY 1
+#define MOUSE_MOVE_SHORT 5
 
 
 typedef struct Hid Hid;
 typedef struct Hid Hid;
 typedef struct HidMouseJiggler HidMouseJiggler;
 typedef struct HidMouseJiggler HidMouseJiggler;