ingame/gamepad/playermenu/playermenu.lua:282 -- PLAYER_MENU_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:RefreshList()
self:PerformDeferredInitialization()
self.list:Activate()
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
self.list:Deactivate()
end
end)