mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41: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
|
|
@ -41,6 +41,7 @@ public:
|
|||
static void bind(const std::string& name, inputtype type, keycode code);
|
||||
static void bind(const std::string& name, inputtype type, mousecode code);
|
||||
static void bind(const std::string& name, inputtype type, int code);
|
||||
static void rebind(const std::string& name, inputtype type, int code);
|
||||
static bool active(const std::string& name);
|
||||
static bool jactive(const std::string& name);
|
||||
|
||||
|
|
@ -51,7 +52,7 @@ public:
|
|||
|
||||
static std::string writeBindings();
|
||||
static void loadBindings(const std::string& filename, const std::string& source);
|
||||
static void loadBindingsToml(const std::string& filename, const std::string& source);
|
||||
static void loadBindingsOld(const std::string& filename, const std::string& source); // TODO: remove in 0.22
|
||||
};
|
||||
|
||||
#endif // WINDOW_EVENTS_HPP_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue