{"id":27182865,"url":"https://github.com/deniedaccesslife/arduinostrike","last_synced_at":"2026-04-09T12:11:37.849Z","repository":{"id":204751828,"uuid":"712580476","full_name":"DeniedAccessLife/ArduinoStrike","owner":"DeniedAccessLife","description":"Program for controlling recoil in the game Counter-Strike 2 using an Arduino Leonardo.","archived":false,"fork":false,"pushed_at":"2025-04-02T20:51:16.000Z","size":65403,"stargazers_count":17,"open_issues_count":3,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-09T15:18:32.864Z","etag":null,"topics":["ahk","ahk-script","antirecoil","arduino","arduino-leonardo","arduino-sketch","autohotkey","counter-strike","counter-strike-2","counter-strike-global-offensive","cs2","cs2ahk","leonardo","macro","macros","rcs","recoil","recoil-control","recoil-control-system","recoil-macro"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DeniedAccessLife.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-31T18:48:30.000Z","updated_at":"2025-04-04T16:41:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"78df467a-25ff-4820-8535-bee33899f06e","html_url":"https://github.com/DeniedAccessLife/ArduinoStrike","commit_stats":null,"previous_names":["deniedaccesslife/arduinostrike"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeniedAccessLife%2FArduinoStrike","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeniedAccessLife%2FArduinoStrike/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeniedAccessLife%2FArduinoStrike/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeniedAccessLife%2FArduinoStrike/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeniedAccessLife","download_url":"https://codeload.github.com/DeniedAccessLife/ArduinoStrike/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055260,"owners_count":21040157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ahk","ahk-script","antirecoil","arduino","arduino-leonardo","arduino-sketch","autohotkey","counter-strike","counter-strike-2","counter-strike-global-offensive","cs2","cs2ahk","leonardo","macro","macros","rcs","recoil","recoil-control","recoil-control-system","recoil-macro"],"created_at":"2025-04-09T15:19:06.374Z","updated_at":"2026-04-09T12:11:37.815Z","avatar_url":"https://github.com/DeniedAccessLife.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ArduinoStrike\n**ArduinoStrike** is a program designed to control the recoil of weapons in **Counter-Strike 2** using **Arduino Leonardo** or any other compatible board. This tool simulates mouse movements for recoil control, implements rapid fire for semi-automatic weapons and adds bunny hop functionality. The software does not interact with the game client in any way, which makes it difficult to be detected by anti-cheat.\n\n# Table of Contents\n- [Introduction](#arduinostrike)\n- [Key Features](#key-features)\n- [Getting Started](#getting-started)\n  - [Requirements](#requirements)\n  - [Installation](#installation)\n- [Configuration](#configuration)\n- [View](#view)\n- [Contributing](#contributing)\n- [License](#license)\n\n# Key Features  \n| Feature           | Description                                                                    |\n|-------------------|--------------------------------------------------------------------------------|\n| **Bhop**          | Automatically jumps while holding spacebar, improving movement speed.          |\n| **ColorBot**      | Detects color changes when aiming and fires instantly without delay.           |\n| **RapidFire**     | Increases the fire rate of semi-automatic weapons for faster shooting.         |\n| **FastReload**    | Speeds up reloading in certain situations, allowing faster combat readiness.   |\n| **AutoAccept**    | Automatically accepts match requests when the button appears on the screen.    |\n| **RecoilControl** | Reduces recoil by simulating controlled mouse movements for better accuracy.   |\n\n## Additional Details\n- **Note:** To enable the bhop feature, enter the command `bind mwheeldown +jump` in the game console.  \n- **Important:** ArduinoStrike does not require a **USB Host Shield** - the board connects to a PC via USB and works as an HID device.\n\n# Getting Started\n## Requirements\n- **Software**: Arduino IDE or PlatformIO, Counter-Strike 2\n- **Hardware**: Arduino Leonardo (or compatible board with native USB HID support)\n\n## Installation  \n### Option 1: Using PlatformIO (Recommended)  \n1. **Clone the Repository**  \n   ```bash  \n   git clone https://github.com/DeniedAccessLife/ArduinoStrike.git  \n   cd ArduinoStrike  \n   ```  \n\n2. **Upload the Firmware**  \n   - Navigate to the `PlatformIO` folder:\n\n     ```bash  \n     cd PlatformIO  \n     ```  \n   - Run the `upload.bat` script for Windows.  \n   - The script will automatically compile and upload the firmware to your connected Arduino board.  \n   - Ensure the correct board and port are specified in the `platformio.ini` file.  \n\n3. **Adding Support for Custom HID-Compatible Boards**  \n   - If you plan to use a custom board with HID emulation, update the `platformio.ini` file located in the `PlatformIO` folder with the appropriate configurations for your board.  \n   - Modify the `upload.bat` script in the same folder to support additional options.  \n\n-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n### Option 2: Using Arduino IDE  \n1. **Clone the Repository**  \n   ```bash  \n   git clone https://github.com/DeniedAccessLife/ArduinoStrike.git  \n   cd ArduinoStrike  \n   ```  \n\n2. **Locate the Sketch File**  \n   - The sketch file is located in the `PlatformIO/src` folder as `ArduinoStrike.cpp`.  \n\n3. **Convert the Sketch for Arduino IDE**  \n   - Rename `ArduinoStrike.cpp` to `ArduinoStrike.ino`.  \n   - Create a new folder named `ArduinoStrike` in the `Arduino` projects directory on your system.  \n   - Move the renamed file into the newly created `ArduinoStrike` folder.  \n\n4. **Open the Project in Arduino IDE**  \n   - Launch the Arduino IDE and open the newly created `ArduinoStrike.ino` file.  \n\n5. **Connect and Configure Arduino**  \n   - Connect your Arduino board to your computer.  \n   - In the Arduino IDE, select the appropriate **Board** (e.g., `Arduino Leonardo`) and **Port**.  \n\n6. **Upload the Firmware**  \n   - Click the **Upload** button to flash the firmware onto your board.  \n\n# Configuration  \nOn first launch, an interactive setup wizard will guide you through feature selection, sensitivity settings, and key bindings. Your preferences will be saved in `Config.json`.  \n\n## Feature Selection  \nYou will be asked whether to enable the following features:  \n\n| Feature       | Description | Options |  \n|--------------|-------------|---------|  \n| **Bunny Hop** | Auto-jumps while holding spacebar for better movement. | `Y` (enable) / `N` (disable) |  \n| **Rapid Fire** | Increases the fire rate of semi-automatic weapons. | `Y` (enable) / `N` (disable) |  \n| **Fast Reload** | Reduces reload time for faster weapon switching. | `Y` (enable) / `N` (disable) |  \n\n## Parameter Settings  \nYou will set the following parameters:  \n\n| Setting            | Description | Range | Example |  \n|--------------------|-------------|--------|---------|  \n| **Sensitivity** | Controls general mouse movement speed. | `1` (slow) to `8` (fast) | `8` |  \n| **Zoom Sensitivity** | Adjusts sensitivity when aiming down sights. | `0.01` (low) to `3.00` (high) | `1.00` |  \n| **ColorBot Threshold** | Determines color variation tolerance for ColorBot activation. Lower values are stricter. | `0` (exact match) to `20` (high tolerance) | `20` |  \n\n## Key Bindings  \nYou can assign keys to specific actions. Press the desired key when prompted, or `ESC` to disable the hotkey.  \n\n| Action | Description | Type |  \n|--------|-------------|------|  \n| **Recoil Control Confirmation** | Confirms activation of recoil control while held. | **Hold**   |\n| **ColorBot** | Activates ColorBot only while the key is held down.                  | **Hold**   |\n| **AutoAccept** | Toggles automatic match acceptance on/off.                         | **Toggle** |\n| **Weapons** | Assign keys for different weapons (UMP-45, M4A1-S, M4A4, etc.).       | **Press**  |\n\n# View\nWindow of the program.\n\n![alt text](https://raw.githubusercontent.com/DeniedAccessLife/ArduinoStrike/master/view.png)\n\n# Contributing\nIf you want to contribute to this project:\n- Request enhancements\n- Report bugs and errors\n- Create issues and pull requests\n- Spread the word about this project\n\nPlease read [CONTRIBUTING](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.\n\n# License\nThis project is licensed under the GNU License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeniedaccesslife%2Farduinostrike","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeniedaccesslife%2Farduinostrike","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeniedaccesslife%2Farduinostrike/lists"}