- 将事件类型命名从过去式改为现在式(如KeyPressed→KeyPress) - 合并鼠标事件数据结构,使用统一的MouseEvent替代MouseButtonEvent - 重构输入系统,使用SDL原生枚举值简化键位映射 - 更新相关文档和示例代码以匹配新的命名规范 |
||
|---|---|---|
| .. | ||
| config.json | ||
| hello_module.cpp | ||
| hello_module.h | ||
| main.cpp | ||
- 将事件类型命名从过去式改为现在式(如KeyPressed→KeyPress) - 合并鼠标事件数据结构,使用统一的MouseEvent替代MouseButtonEvent - 重构输入系统,使用SDL原生枚举值简化键位映射 - 更新相关文档和示例代码以匹配新的命名规范 |
||
|---|---|---|
| .. | ||
| config.json | ||
| hello_module.cpp | ||
| hello_module.h | ||
| main.cpp | ||