https://github.com/suundumused/dota-camera-lock-macro
A macro to lock the camera on the character automatically when pressing "b"
https://github.com/suundumused/dota-camera-lock-macro
dota dota-2 dota2 dota2-api dota2-bot dota2-changer dota2-hack dota2-maphack hotkeys keyboard-shortcuts macro macro-processor macros
Last synced: 14 days ago
JSON representation
A macro to lock the camera on the character automatically when pressing "b"
- Host: GitHub
- URL: https://github.com/suundumused/dota-camera-lock-macro
- Owner: Suundumused
- License: mit
- Created: 2024-06-08T22:54:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-26T15:12:24.000Z (9 months ago)
- Last Synced: 2025-08-26T21:02:40.472Z (9 months ago)
- Topics: dota, dota-2, dota2, dota2-api, dota2-bot, dota2-changer, dota2-hack, dota2-maphack, hotkeys, keyboard-shortcuts, macro, macro-processor, macros
- Language: Python
- Homepage:
- Size: 4.47 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
**Dota 2 - Camera Lock Macro**
---
### Overview
This Python script provides a convenient solution for automatically locking the camera on a character in Dota 2 by pressing the "b" key.
### Requirements
- Python 3.x
- pynput library
- win32api and win32con modules
### Installation
1. Install Python 3.x from [python.org](https://www.python.org/downloads/).
2. Install the required libraries using pip:
```
pip install pynput
```
### Usage
1. Ensure that Python and the required libraries are installed.
2. Run the script by executing the following command:
```
python camera_lock_macro.py
```
3. Once the script is running, simply press the "b" key to activate the camera lock feature.
### Note
- This script is specifically designed to work on Windows operating systems.
- The default key to trigger the camera lock is "b", but you can customize it by modifying the `favorite_key` variable in the script.
### Disclaimer
This script is intended for educational and personal use only. Use it responsibly and in compliance with the terms of service of the applications or games you use it with. We do not take responsibility for any misuse or unintended consequences arising from the use of this script.