Skip to content

Simple Flipper Zero application to send left-clicks as a USB HID device

License

Notifications You must be signed in to change notification settings

pbek/usb_hid_autofire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USB HID Autofire

GitHub | Latest release | Changelog | License

Build

This is a simple Flipper Zero application to send left-clicks as a USB HID device.

Main screen (v0.7) Help screen (v0.7)
Main screen Help screen

Use-case

  • Great for auto-clicking in games like Idle Wizard 😁

Installation

Download the latest release of the fap file and put it into the apps folder on your SD card of your Flipper Zero.

Building

cd applications_user
git clone https://github.com/pbek/usb_hid_autofire.git

cd ..

# Build the application
./fbt fap_usb_hid_autofire

# Build and launch the application
./fbt launch_app APPSRC=usb_hid_autofire

Launch On Flipper From WSL

When VS Code runs in Remote - WSL, you can deploy and launch the app directly on a USB-connected Flipper from WSL.

  1. Attach the Flipper USB device to WSL from Windows PowerShell:
usbipd list
usbipd bind --busid <BUSID>
usbipd attach --wsl --busid <BUSID>
  1. In WSL, verify the device is available:
ls /dev/ttyACM*
  1. Run launch from the firmware root:
./fbt launch APPSRC=applications_user/usb_hid_autofire

If your firmware/toolchain still uses the older launch target, use:

./fbt launch_app APPSRC=usb_hid_autofire

Troubleshooting

  • If you see Permission denied: '/dev/ttyACM0', add your user to dialout and restart WSL:
sudo usermod -aG dialout "$USER"

Then run in Windows PowerShell:

wsl --shutdown
  • Close qFlipper while launching from WSL, otherwise the serial port may be busy.

About

Simple Flipper Zero application to send left-clicks as a USB HID device

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages