flipper-zero-tutorials/hid/hid_cookie
2023-04-18 22:06:36 -04:00
..
.flipcorg Initial check-in for hid_cookie 2023-04-15 14:34:24 -04:00
assets Initial check-in for hid_cookie 2023-04-15 14:34:24 -04:00
views Add UNUSED to functions 2023-04-15 15:47:19 -04:00
application.fam Change category to Bluetooth to align with Roguemaster FW naming 2023-04-15 14:48:52 -04:00
hid_cookie_ble_10px.png Initial check-in for hid_cookie 2023-04-15 14:34:24 -04:00
hid.c fix issue #7 - invoke view_dispatcher_remove_view 2023-04-18 22:06:36 -04:00
hid.h Initial check-in for hid_cookie 2023-04-15 14:34:24 -04:00
readme.md Initial check-in for hid_cookie 2023-04-15 14:34:24 -04:00
views.h Minor updates 2023-04-15 15:31:06 -04:00

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.