mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
controls.json -> controls.toml
This commit is contained in:
parent
d3e34741e0
commit
4e2ba865f3
9 changed files with 65 additions and 12 deletions
|
|
@ -122,6 +122,11 @@ namespace input_util {
|
|||
std::string to_string(keycode code);
|
||||
/// @return Mouse button label by keycode
|
||||
std::string to_string(mousecode code);
|
||||
|
||||
/// @return Key name by keycode
|
||||
std::string get_name(keycode code);
|
||||
/// @return Mouse button name by keycode
|
||||
std::string get_name(mousecode code);
|
||||
}
|
||||
|
||||
enum class inputtype {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue