flipper-zero-tutorials/hid/hid_cookie/readme.md
2023-04-15 14:34:24 -04:00

2.1 KiB

Bluetooth Cookie Clicker

The goal of this application is use the Flipper Zero's bluetooth connectivity to send mouse clicks to your phone at a given frequency. If you are playing a game, such as Cookie Clicker 2, this will result in a 'screen tap' being simulated. Only connect to phones you own (unless your friends ask you to connect your Flipper Zero to their phone, so they can unlock more achievements in their games!)

Easy Setup

The easiest way is to use FlipC.org to build the project and install on your Flipper. If the application isn't already in the Tools section; you can go to Build and build it yourself.

git:   jamisonderek/flipper-zero-tutorials
settings:
  root:  /hid/hid_cookie

Then click on "Let's FAP!"

Once it is built, you will be able to choose to Download the FAP or install directly on your Flipper Zero!

Local Setup (Windows)

Setup your development machine with the following. You can watch my video at YouTube

Once everything is cloned, copy the hid_cookie project into your applications_user folder...

  • Open the firmware project in Visual Studio Code
  • Right click on "applications_user"
  • Choose "Open in Integrated Terminal"
  • Type:
    New-Item -Path hid_cookie -ItemType Junction -Value ..\..\flipper-zero-tutorials\hid\hid_cookie 
    

Once everything is copied, build and run the project...

  • Open the build task window (Ctrl+Shift+B)
  • Choose "Build update bundle"
  • Open the "applications_user\hid_cookie\hid.c" file
  • Open the build task window (Ctrl+Shift+B)
  • Choose "Launch app on Flipper"

Using the app

Once the application is launched, it will show a menu that includes directions for using the application. Press the OK button to launch the instructions. Press the DOWN button to read more instructions. Press the BACK button to return to the menu.