|
ShitEngine
基于 C++20 与 SDL3 的轻量级 2D 游戏引擎
|
轴绑定配置 更多...
#include <Config.h>
Public 属性 | |
| std::vector< std::string > | negative |
| 负向按键 | |
| std::vector< std::string > | positive |
| 正向按键 | |
轴绑定配置
settings.json → inputMappings.axes: "Horizontal": { "negative": ["A"], "positive": ["D"] }
| std::vector<std::string> negative |
负向按键
| std::vector<std::string> positive |
正向按键