For code only you just need to understand C++ and look at the MCU API when we have oficial announcement of the selected MCU.
If you want to play with GPIO Arduino and some basic electronics is a great starting point.
For code only you just need to understand C++ and look at the MCU API when we have oficial announcement of the selected MCU.
If you want to play with GPIO Arduino and some basic electronics is a great starting point.
With the optical mice, it should be possible to do it purely by graphics. The dolphin could move a bit on the display (basicaly a movement on lines is most likey required), such that the mouse detects it as movement. So you just place the mouse on the display of flipper and the dolphin could jiggle the mouse with it’s head or tale…
Forgot: The advantage of that would be that IT should not be able to notice any strange USB device. The original mouse is still connected to the PC and the dolphin trains it muscles…
just get a digispark attiny85 usb board and use arduino code
if the aim is to keep the screen awake (prevent the device from locking itself), it’s as simple as making a badUSB script that presses shift (or any key you want for that matter) every once in a while.
AsFaBw’s suggestion of just having a flipper animation playing on the screen and placing it under an optical mouse is an ingenious one and is probably easier than my suggestion.
I would never have thought of something like that.
Thanks a lot! Anyhow not sure if it works - but worth a trial. Would be also an aha effect to the commercial mouse jiggler’s vendors if a dolphin moves the mouse without touching the USB port:-)
And as said, the big advantage would be that it is not detectable by IT - if somebody decides to cheat about activity at work, then I would really refrain from using that bought active mouse jigglers. You may be faster fired than you can detach the jiggler:-)
I don’t think you can trick (modern) optical mice with the flipper screen but I am pretty sure the flipper will gain bad-usb and “jiggler” ability’s in the future. A digispark is what I would use now, you can even change the usb id’s to match your mouses make and model.
For me the more interesting question is why someone would use a jigger?
If you pad your hours and they don’t catch you, you will appear less productive during a time where a lot of businesses have to let people go.
And if they do find out, you could lose your job, and that is something I really wouldn’t want right now.
Of course everyone has personal circumstances, it just seems like a risky move.
For me it is otherwise around. For me it is more interesting if it would be possible to move the mouse with the flipper’s screen contents.
But I fully agree with your opinion/statements regarding the usage. For me the first strange thing is that there is a market for the jigglers. Second that users connect any strange USB device into their company laptops and risk that the USB comes with bad intent and is easily detectable by IT (I was not aware, that those sticks can change the USB ID, but most likely 70% of the users fail anyhow). I can just warn about that when I hear For those that make use of the jigglers the display driven mouse would at least avoid that users connect strange USB to company equipment.
BTW: this could be a good intro if flipper is supporting mouse jiggler action.
Flipper telling users about the risks of using a mouse jiggler and making at least an unhappy/angry face when cheating the mouse:-)
The Flipper Zero is compatible with the Arduino IDE. Maybe it is as simple as modifying existing scripts. For example: https://github.com/nshadov/screensaver-mouse-jiggler
It supports the Arduino IDE not Arduino library’s “Mouse.h” is what makes it possible on some Arduino’s. When looking for example code you should search for stm32 guides like this one: stm32-custom-usb-hid
A bit off topic, but I’ve had succes with using a watch with a seconds hand for this. So if you need a mouse wiggler right now, maybe that’s worth a shot
can’t ducky script accomplish the same thig?
Yes, with the mouse I just tested it on, the screen will indeed jiggle the mouse. It’s actually a bit too successful, and it goes a bit mad, and the cursor ended up at the top right of hte screen very rapidly.
The other option would be a plugged in device, using BadUSB or the like, but the idea of a semi-random movement of the existing mouse is by far the best!
I think you’ll need to do a little research into the screen moements required to move the mouse in a “human like way” - not every 60 seconds like clock, not ending up in the bottom left or right of a windows screen, etc - but it seems like a great first project!
I wrote a Mouse Jiggler application, for the latest firmware, that acts as a USB device and moves the mouse like other mouse jiggler apps. You can find the code for it here:
I’m not able to install the “Mouse Jiggler” plugin in my flipper can someone help or give me the instructions?! Grateful!
Sometimes it would be helpful to know what you are doing and what is not working …
If you read the link just above your comment, there is a detailed instruction.
$ git clone --recursive https://github.com/jplesner/flipperzero-firmware-mouse-jiggler
$ cd flipperzero-firmware-mouse-jiggler
$ ./fbt fap_mouse_jiggler
build/f7-firmware-D/.extapps/mouse_jigler.fap
to your flipper.If the firmware version matches, you can use the application. If not, maybe you should compile the whole firmware. A little easier at this point, than to clone the matching repo from github and compiling against it. In my opinion.
I did the process and put the .fap in “Tools”, but when I went to open the icon, it has the model of “?” and when opening it gives me the following error:
ERROR
Preload Failed
API version mismatch
Yeah, as in every operating system, the comping environment shod match the target environment.
Solution 1: install the downloaded version on jour flipper.
In my test it was API Version 7.4 … Not very new. I think we are at 11.
Solution 2:
Do the steps in my first post again … And take a look at the API Version.
I don’t know how to find the API Version of the installed system.
In case anyone stumbles over this thread like I did and wondered about having to build it. It’s already included in the USB Keyboard app merged into main as per this PR.