File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ void gebaar::config::Config::load_config()
6464 pinch_commands[PINCH_IN] = *config->get_qualified_as <std::string>(" commands.pinch.out" );
6565 pinch_commands[PINCH_OUT] = *config->get_qualified_as <std::string>(" commands.pinch.in" );
6666
67- settings[DISTANCE ] = *config->get_qualified_as <std::string>(" settings.pinch.distance " );
68- settings[THRESHOLD ] = *config->get_qualified_as <std::string>(" settings.swipe.threshold" );
67+ settings[PINCH_THRESHOLD ] = *config->get_qualified_as <std::string>(" settings.pinch.threshold " );
68+ settings[SWIPE_THRESHOLD ] = *config->get_qualified_as <std::string>(" settings.swipe.threshold" );
6969
7070 loaded = true ;
7171 }
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ namespace gebaar::config {
3535
3636
3737 enum pinch {PINCH_IN, PINCH_OUT};
38- enum settings {THRESHOLD, DISTANCE };
38+ enum settings {SWIPE_THRESHOLD, PINCH_THRESHOLD };
3939
4040 std::string swipe_three_commands[10 ];
4141 std::string swipe_four_commands[10 ];
You can’t perform that action at this time.
0 commit comments