Change default pathing for binding file I/O
This commit is contained in:
parent
7dbd0b93b3
commit
356ec24cc2
|
@ -1,52 +1 @@
|
||||||
4
|
|
||||||
Horizontal
|
|
||||||
0
|
|
||||||
0
|
|
||||||
5
|
|
||||||
0.2
|
|
||||||
5
|
|
||||||
0
|
|
||||||
2
|
|
||||||
39
|
|
||||||
68
|
|
||||||
2
|
|
||||||
37
|
|
||||||
65
|
|
||||||
2
|
|
||||||
3
|
|
||||||
16
|
|
||||||
1
|
|
||||||
2
|
|
||||||
Mouse Wheel
|
|
||||||
3
|
|
||||||
0
|
|
||||||
1
|
|
||||||
0.2
|
|
||||||
1
|
|
||||||
0
|
|
||||||
0
|
|
||||||
0
|
|
||||||
0
|
|
||||||
0
|
|
||||||
Mouse X
|
|
||||||
1
|
|
||||||
0
|
|
||||||
1
|
|
||||||
0.2
|
|
||||||
1
|
|
||||||
0
|
|
||||||
0
|
|
||||||
0
|
|
||||||
0
|
|
||||||
0
|
|
||||||
Mouse Y
|
|
||||||
2
|
|
||||||
0
|
|
||||||
1
|
|
||||||
0.2
|
|
||||||
1
|
|
||||||
0
|
|
||||||
0
|
|
||||||
0
|
|
||||||
0
|
|
||||||
0
|
0
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include "../../SHADE_Managed/src/SHpch.h"
|
#include "../../SHADE_Managed/src/SHpch.h"
|
||||||
|
#include "../../SHADE_Engine/src/Assets/SHAssetMacros.h"
|
||||||
#include "SH_API.h"
|
#include "SH_API.h"
|
||||||
#pragma comment(lib, "xinput.lib")
|
#pragma comment(lib, "xinput.lib")
|
||||||
|
|
||||||
|
@ -686,11 +687,11 @@ namespace SHADE
|
||||||
/*------------------------------------------------------------------------*/
|
/*------------------------------------------------------------------------*/
|
||||||
|
|
||||||
//Save bindings registered into a file
|
//Save bindings registered into a file
|
||||||
static void SaveBindings(std::string const& targetFile = "../../Assets/Bindings.SHConfig") noexcept;
|
static void SaveBindings(std::string const& targetFile = std::string(ASSET_ROOT) + "/Bindings.SHConfig") noexcept;
|
||||||
|
|
||||||
//Load and register bindings from a file
|
//Load and register bindings from a file
|
||||||
//If specified file exists, the current list of bindings will be overwritten, so save them somewhere else before loading
|
//If specified file exists, the current list of bindings will be overwritten, so save them somewhere else before loading
|
||||||
static void LoadBindings(std::string const& sourceFile = "../../Assets/Bindings.SHConfig") noexcept;
|
static void LoadBindings(std::string const& sourceFile = std::string(ASSET_ROOT) + "/Bindings.SHConfig") noexcept;
|
||||||
|
|
||||||
/*------------------------------------------------------------------------*/
|
/*------------------------------------------------------------------------*/
|
||||||
/* Binding Functions */
|
/* Binding Functions */
|
||||||
|
|
Loading…
Reference in New Issue