mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
added new submenu for key assignment
configwriting/saving isn't complete and will break your config if you use fancy keys
This commit is contained in:
parent
9b6b4b65f8
commit
6434f64ab4
8 changed files with 913 additions and 103 deletions
|
@ -21,11 +21,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#define KEYCODE_HEADER
|
||||
|
||||
#include "common_irrlicht.h"
|
||||
#include <string>
|
||||
|
||||
irr::EKEY_CODE keyname_to_keycode(const char *name);
|
||||
|
||||
// Key configuration getter
|
||||
irr::EKEY_CODE getKeySetting(const char *settingname);
|
||||
|
||||
std::string keycode_to_keyname(s32 keycode);
|
||||
void clearCache();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue