From e98f292eecf2274f102f398aef8ca60824e05dca Mon Sep 17 00:00:00 2001 From: Mau Abata Date: Wed, 27 Mar 2024 11:18:21 -0500 Subject: [PATCH] Adjust the arousal bar to be a little less confusing to end users. --- src/orgasm_control.c | 4 +++- src/pages/edging_stats.c | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/orgasm_control.c b/src/orgasm_control.c index 5fc47e1..fcf9cbe 100644 --- a/src/orgasm_control.c +++ b/src/orgasm_control.c @@ -540,7 +540,9 @@ void orgasm_control_increment_arousal_threshold(int threshold) { } void orgasm_control_set_arousal_threshold(int threshold) { - Config.sensitivity_threshold = threshold >= 0 ? threshold : 0; + // Sensitivity threshold of 0 prevents horrible issues from happening. + // It also prevents confusing the customers, which is a big win I'd say. + Config.sensitivity_threshold = threshold >= 10 ? threshold : 10; config_enqueue_save(300); } diff --git a/src/pages/edging_stats.c b/src/pages/edging_stats.c index 9b1d568..088bb46 100644 --- a/src/pages/edging_stats.c +++ b/src/pages/edging_stats.c @@ -141,7 +141,8 @@ float _get_arousal_bar_max(void) { if (Config.sensitivity_threshold != last_sens_thresh) { last_sens_thresh = Config.sensitivity_threshold; last_arousal_max = - pow10f(ceilf(log10f(Config.sensitivity_threshold * 1.10f) * 4.0f) / 4.0f); + pow10f(ceilf(log10f(Config.sensitivity_threshold * 1.10f) * 2.0f) / 2.0f); + if (last_arousal_max < 100) last_arousal_max = 100; } return last_arousal_max;