File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -811,7 +811,7 @@ class InputManager
811811 {
812812 float value = SDL_GetGamepadAxis (controller, static_cast <SDL_GamepadAxis>(i)) / 32768 .0f ;
813813 bool negate = value < 0 ;
814- if (bindDialog.currentVolumeChannel == ADChannel::Steering)
814+ if (bindDialog.isBindingVolume && bindDialog. currentVolumeChannel == ADChannel::Steering)
815815 negate = false ;
816816
817817 if (std::abs (value) > 0 .5f )
@@ -873,6 +873,7 @@ class InputManager
873873 if (ImGui::BeginTable (" Controllers" , 2 , ImGuiTableFlags_Borders))
874874 {
875875 ImGui::TableSetupColumn (" Detected Controllers" );
876+ ImGui::TableSetupColumn (" Type" );
876877 ImGui::TableHeadersRow ();
877878
878879 SDL_Gamepad* primary_controller = primary_gamepad ();
@@ -905,6 +906,8 @@ class InputManager
905906
906907 if (isPrimary)
907908 ImGui::Text (" Active/Primary" );
909+ else
910+ ImGui::Text (" Inactive" );
908911 }
909912 ImGui::EndTable ();
910913 }
You can’t perform that action at this time.
0 commit comments