Skip to content

Commit

Permalink
Updated default config
Browse files Browse the repository at this point in the history
  • Loading branch information
tommitytom committed May 18, 2019
1 parent 9a6f99b commit 0a8ecef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConfigLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "util/String.h"
#include "platform/Path.h"

const std::string DEFAULT_BUTTON_CONFIG = "{\"gameboy\":{\"A\":\"Z\",\"B\":\"X\",\"Start\":\"Enter\",\"Select\":\"Ctrl\",\"Up\":\"UpArrow\",\"Down\":\"DownArrow\",\"Left\":\"LeftArrow\",\"Right\":\"RightArrow\"},\"lsdj\":{\"UpTenRows\":\"PageUp\",\"DownTenRows\":\"PageDown\",\"ScreenUp\":\"W\",\"ScreenDown\":\"S\",\"ScreenLeft\":\"A\",\"ScreenRight\":\"D\"}}";
const std::string DEFAULT_BUTTON_CONFIG = "{\"gameboy\":{\"A\":\"Z\",\"B\":\"X\",\"Up\":\"UpArrow\",\"Down\":\"DownArrow\",\"Left\":\"LeftArrow\",\"Right\":\"RightArrow\",\"Select\":\"Ctrl\",\"Start\":\"Enter\"},\"lsdj\":{\"ScreenUp\":\"W\",\"ScreenDown\":\"S\",\"ScreenLeft\":\"A\",\"ScreenRight\":\"D\",\"DownTenRows\":\"PageDown\",\"UpTenRows\":\"PageUp\",\"CancelSelection\":\"Esc\"}}";

static void saveButtonConfig(const std::string& path, const tao::json::value& source) {
std::ofstream configOut(path);
Expand Down

0 comments on commit 0a8ecef

Please sign in to comment.