ShitEngine
基于 C++20 与 SDL3 的轻量级 2D 游戏引擎
载入中...
搜索中...
未找到
AxisBinding结构体 参考

轴绑定配置 更多...

#include <Config.h>

Public 属性

std::vector< std::string > negative
 负向按键
std::vector< std::string > positive
 正向按键

详细描述

轴绑定配置

settings.json → inputMappings.axes: "Horizontal": { "negative": ["A"], "positive": ["D"] }

类成员变量说明

◆ negative

std::vector<std::string> negative

负向按键

◆ positive

std::vector<std::string> positive

正向按键


该结构体的文档由以下文件生成: