File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -482,7 +482,7 @@ void PadsImpl::reset() {
482
482
}
483
483
484
484
void PadsImpl::Pad::reset () {
485
- m_analogMode = false ;
485
+ // m_analogMode = false;
486
486
m_configMode = false ;
487
487
m_cmd = magic_enum::enum_integer (PadCommands::Idle);
488
488
m_bufferLen = 0 ;
@@ -882,7 +882,7 @@ bool PadsImpl::configure(PCSX::GUI* gui) {
882
882
if (pad.m_type == PadType::Analog && pad.m_settings .get <Keyboard_AnalogMode>() != GLFW_KEY_UNKNOWN) {
883
883
const int key = pad.m_settings .get <Keyboard_AnalogMode>();
884
884
885
- if ((key != ImGuiKey_None) && ImGui::IsKeyDown (GlfwKeyToImGuiKey (key))) {
885
+ if ((key != ImGuiKey_None) && ImGui::IsKeyReleased (GlfwKeyToImGuiKey (key))) {
886
886
pad.m_analogMode = !pad.m_analogMode ;
887
887
}
888
888
}
You can’t perform that action at this time.
0 commit comments