# manuel36415/onimusha-way-of-the-sword-trainer architecture

> Architecture diagram of the GitHub repository manuel36415/onimusha-way-of-the-sword-trainer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/manuel36415/onimusha-way-of-the-sword-trainer
- Repository: https://github.com/manuel36415/onimusha-way-of-the-sword-trainer

## Overview

This repository’s executable is a small Windows hotkey polling loop: it toggles a local menu flag on Insert and stops polling on End. The runtime header also defines configuration defaults, but the sampled core does not use them. The README advertises trainer features such as an overlay, offset scanning, and input smoothing; these are documented claims, not capabilities substantiated by the sampled implementation. The graph therefore keeps them separate from the demonstrated runtime.

Main entry points: [`src/onimusha_way_of_the_sword_tr_core.cpp`](https://github.com/manuel36415/onimusha-way-of-the-sword-trainer/blob/main/src/onimusha_way_of_the_sword_tr_core.cpp) (Hotkey runtime loop)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_windows_input["Windows keyboard input"]
node_runtime_loop["Hotkey runtime loop"]
node_menu_flag["Menu state"]
node_config_defaults["Runtime defaults"]
node_readme_features["Advertised trainer features<br/>[README.md]"]

node_user -->|"presses keys"| node_windows_input
node_windows_input -->|"provides key state"| node_runtime_loop
node_runtime_loop -->|"toggles on Insert"| node_menu_flag
node_runtime_loop -->|"stops on End"| node_runtime_loop

click node_runtime_loop "https://github.com/manuel36415/onimusha-way-of-the-sword-trainer/blob/main/src/onimusha_way_of_the_sword_tr_core.cpp"
click node_menu_flag "https://github.com/manuel36415/onimusha-way-of-the-sword-trainer/blob/main/src/onimusha_way_of_the_sword_tr_core.cpp"
click node_config_defaults "https://github.com/manuel36415/onimusha-way-of-the-sword-trainer/blob/main/include/onimusha_way_of_the_sword_tr_runtime.hpp"
click node_readme_features "https://github.com/manuel36415/onimusha-way-of-the-sword-trainer/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_windows_input toneIndigo
class node_runtime_loop,node_menu_flag,node_config_defaults,node_readme_features toneTeal
```

## Components

### Other components

- **User**
- **Windows keyboard input**
- [Hotkey runtime loop](https://github.com/manuel36415/onimusha-way-of-the-sword-trainer/blob/main/src/onimusha_way_of_the_sword_tr_core.cpp): `src/onimusha_way_of_the_sword_tr_core.cpp`
- [Menu state](https://github.com/manuel36415/onimusha-way-of-the-sword-trainer/blob/main/src/onimusha_way_of_the_sword_tr_core.cpp): `src/onimusha_way_of_the_sword_tr_core.cpp`
- [Runtime defaults](https://github.com/manuel36415/onimusha-way-of-the-sword-trainer/blob/main/include/onimusha_way_of_the_sword_tr_runtime.hpp): `include/onimusha_way_of_the_sword_tr_runtime.hpp`
- [Advertised trainer features](https://github.com/manuel36415/onimusha-way-of-the-sword-trainer/blob/main/README.md): `README.md`

## Connections

- User → Windows keyboard input: presses keys
- Windows keyboard input → Hotkey runtime loop: provides key state (evidence: `src/onimusha_way_of_the_sword_tr_core.cpp`)
- Hotkey runtime loop → Menu state: toggles on Insert (evidence: `src/onimusha_way_of_the_sword_tr_core.cpp`)
- Hotkey runtime loop → Hotkey runtime loop: stops on End (evidence: `src/onimusha_way_of_the_sword_tr_core.cpp`)
