Remove some logspam, oops

This commit is contained in:
Henrik Rydgård 2022-11-24 12:47:13 +01:00
parent 1a3f4f281d
commit 75040f0cb1
2 changed files with 0 additions and 3 deletions

View File

@ -74,12 +74,10 @@ void ControlMapper::SetPSPAxis(int device, char axis, float value, int stick) {
if (inDeadZone && lastNonDeadzoneDeviceID_[stick] != device) {
// Ignore this event! See issue #15465
NOTICE_LOG(COMMON, "Ignoring deadzone event from device %d (%d, %f)", device, axis, value);
ignore = true;
}
if (!inDeadZone) {
NOTICE_LOG(COMMON, "Got a non deadzone event from device %d (%d, %f > %f)", device, axis, value, g_Config.fAnalogDeadzone);
lastNonDeadzoneDeviceID_[stick] = device;
}

View File

@ -583,7 +583,6 @@ void JoystickHistoryView::Update() {
AnalogSetupScreen::AnalogSetupScreen(const Path &gamePath) : UIDialogScreenWithGameBackground(gamePath) {
mapper_.SetCallbacks([](int vkey) {}, [](int vkey) {}, [&](int stick, float x, float y) {
NOTICE_LOG(COMMON, "analog value from mapper: %f %f", x, y);
analogX_[stick] = x;
analogY_[stick] = y;
});