bind: "interact" now resolves to game_binds.interact (Alt+J) only — a single keystroke. The full ISBoxer-style chain (CTM on -> Alt+J -> sleep walk_delay_ms -> CTM off) lives at bind: "smart_interact". Fixes the doubling bug Grok flagged: bind: "interact" previously expanded into the full chain unconditionally, so the loot_manual and interact_hold example maps fired ctm_on/ctm_off twice and produced unwanted sleep delays. - engine.rs: rename shortcut trigger (was: "interact") - examples/profile.yaml: loot now uses smart_interact; loot_manual and interact_hold keep "interact" as a single Alt+J send - docs/MACROS.md: heading + shortcut comment - docs/NOTES.md: trigger name - Add new test: interact_simple_sends_only_alt_j (1-line single-send) - Existing smart shortcut tests renamed to bind: smart_interact - CHANGELOG.md: trigger split note 93/93 cargo test pass; clippy clean.
176 lines
4.8 KiB
YAML
176 lines
4.8 KiB
YAML
# Copy to ~/.config/enboxer/profile.yaml and edit.
|
|
# Keys use Mod+Key (Alt+G, Shift+F3). Letters are case-insensitive.
|
|
|
|
name: esdf-team
|
|
client: wow-retail
|
|
slots: 2
|
|
|
|
# Hyprland window match (regex). Wine/WoW class is often wow.exe or the wine prefix name.
|
|
window_match:
|
|
class: "(?i)wow|warcraft"
|
|
title: null
|
|
|
|
# Keys that are NEVER intercepted. Empty = no skip list.
|
|
# ESDF movement stays on the primary even if you later add a map for those letters.
|
|
passthrough: ["e", "s", "d", "f"]
|
|
|
|
# maps = only keys listed under `maps` (rest stay on the front window)
|
|
# mirror = clone keys to the other clients (passthrough still skipped)
|
|
# off = no intercept; the front window gets everything
|
|
mode_default: maps
|
|
|
|
# Optional: limit which keys mirror-mode clones. Empty = letters, digits, F-keys, etc.
|
|
repeater:
|
|
enabled: false
|
|
keys: []
|
|
|
|
game_binds:
|
|
# Interact with Target is a built-in WoW keybind (Key Bindings > Targeting >
|
|
# Interact Target). Bind it on every account to the same key; enBoxer just
|
|
# routes the keystroke. Alt+J was requested explicitly.
|
|
interact: "Alt+J"
|
|
# /console is not keybindable; CTM on / off must be macros.
|
|
ctm_on: "Shift+F3"
|
|
ctm_off: "Shift+F4"
|
|
# Per-character macro: the slot's character name is filled in by
|
|
# Character.assist_key / Character.follow_key, so swap-to-slot-N retargets
|
|
# the bind without re-editing YAML.
|
|
assist: "Shift+F2"
|
|
follow: "Shift+F1"
|
|
# Optional, class-dependent (Hunter / Warlock / DK / Demon Hunter).
|
|
# Built-in keybind Targets > Pet Actions > Attack.
|
|
# pet_attack: "F"
|
|
# Optional "try again" after a missed interact. Targets > Target Last Target.
|
|
# target_last: "Ctrl+L"
|
|
|
|
interact:
|
|
# standard: CTM on → IWT → wait → CTM off
|
|
# auto: CTM on → IWT (CTM stays on)
|
|
# hold: CTM on → IWT on press; CTM off on release
|
|
style: standard
|
|
walk_delay_ms: 2500
|
|
|
|
session_hotkeys:
|
|
mode_cycle: "Shift+Alt+M"
|
|
swap_next: "Ctrl+grave"
|
|
swap_prev: "Ctrl+Shift+grave"
|
|
focus_next: "Ctrl+Shift+N"
|
|
focus_prev: "Ctrl+Shift+P"
|
|
focus_main: "Ctrl+F1"
|
|
reset_all: "Ctrl+Shift+R"
|
|
stay_on_top: "Ctrl+Shift+T"
|
|
mouse_follow: "Ctrl+Shift+F"
|
|
mouse_broadcast: "Ctrl+Shift+B"
|
|
|
|
characters:
|
|
- slot: 1
|
|
name: Main
|
|
assist_key: "Shift+F2"
|
|
follow_key: "Shift+F1"
|
|
- slot: 2
|
|
name: Alt
|
|
assist_key: "F9"
|
|
follow_key: "F10"
|
|
|
|
groups:
|
|
alts:
|
|
slots: [2]
|
|
|
|
maps:
|
|
- name: bar_1
|
|
hotkey: "1"
|
|
steps:
|
|
- bind: assist
|
|
target: others
|
|
- key: "1"
|
|
target: all
|
|
|
|
- name: bar_2
|
|
hotkey: "2"
|
|
steps:
|
|
- bind: assist
|
|
target: others
|
|
- key: "2"
|
|
target: all
|
|
|
|
- name: follow_me
|
|
hotkey: "Alt+F"
|
|
steps:
|
|
- bind: follow
|
|
target: others
|
|
|
|
- name: assist_me
|
|
hotkey: "Alt+A"
|
|
steps:
|
|
- bind: assist
|
|
target: others
|
|
|
|
- name: loot
|
|
# ISBoxer Mapped Key analog: one user keypress fires the entire interact
|
|
# chain (CTM on -> Interact with Target -> wait walk_delay_ms -> CTM off),
|
|
# driven by profile.interact (style + walk_delay_ms). The follower has
|
|
# walk_delay_ms to actually walk to the target before CTM turns off.
|
|
hotkey: "Alt+G"
|
|
steps:
|
|
- bind: assist
|
|
target: others
|
|
- bind: smart_interact # full chain (use "interact" for a single Alt+J send)
|
|
target: others
|
|
- name: loot_manual
|
|
# Same idea as `loot` but composed by hand. Pick this form if you want to
|
|
# do anything fancy between the CTM toggle and the interact (e.g. a delay
|
|
# specific to a slow class, or a different key for each step).
|
|
hotkey: "Ctrl+Alt+G"
|
|
hold: false
|
|
steps:
|
|
- bind: assist
|
|
target: others
|
|
- bind: ctm_on
|
|
target: others
|
|
- bind: interact # single Alt+J send (NOT the smart shortcut)
|
|
target: others
|
|
- delay_ms: 5000
|
|
- bind: ctm_off
|
|
target: others
|
|
|
|
|
|
- name: interact_hold
|
|
hotkey: "Alt+H"
|
|
hold: true
|
|
steps:
|
|
- bind: ctm_on
|
|
target: others
|
|
- bind: interact # single Alt+J send (NOT the smart shortcut)
|
|
target: others
|
|
release_steps:
|
|
- bind: ctm_off
|
|
target: others
|
|
|
|
- name: rez_cycle
|
|
# Each press picks the next slot in order (1..=N, then wraps). State
|
|
# lives on the engine, keyed by this map name, so a second `rr`
|
|
# map keeps its own cursor.
|
|
hotkey: "Alt+R"
|
|
steps:
|
|
- key: "F8"
|
|
target: round_robin
|
|
|
|
# Window layout (pixels). Generate from the Layout page, then Save and Apply.
|
|
layout:
|
|
preset: main_strip
|
|
one_row: true
|
|
main_at_bottom: false
|
|
auto_apply: false
|
|
monitor: ""
|
|
slots: []
|
|
|
|
# Viewer sits on the current primary. Hover + pass_through sends keys/clicks to source_slot only.
|
|
video_fx:
|
|
- name: alt_party
|
|
enabled: false
|
|
source_slot: 2
|
|
source: { x: 0.0, y: 0.0, w: 0.40, h: 0.40 }
|
|
viewer: { x: 0.02, y: 0.02, w: 0.28, h: 0.28 }
|
|
pass_through: true
|
|
fps: 12
|