View Single Post
09/23/21, 09:16 AM   #10
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Originally Posted by Sidrinius View Post
@ZOS_DanBatson

On PTS today, chat for PC players using Gamepad changed to the "console" interface. I've not been able to find a way to select the "m&kb" interface. Is this intended behavior? I doubt PC players using gamepad are going to like this.
Seems ZO_ChatSystem_DoesPlatformUseGamepadChatSystem() returns true on the PC platform on the PTS, where it might should return false instead?

The code below in the keyboard chat system initalization makes me assume it should be false ->
-- On PC platforms, we do not load a gamepad chat system. Let's reuse the keyboard system instead.
Code:
function ZO_ChatSystem_OnInitialized(control)
    KEYBOARD_CHAT_SYSTEM = ZO_ChatSystem:New(control)
    SYSTEMS:RegisterKeyboardObject("ChatSystem", KEYBOARD_CHAT_SYSTEM)

    if not ZO_ChatSystem_DoesPlatformUseGamepadChatSystem() then
        -- On PC platforms, we do not load a gamepad chat system. Let's reuse the keyboard system instead.
        GAMEPAD_CHAT_SYSTEM = KEYBOARD_CHAT_SYSTEM
        SYSTEMS:RegisterGamepadObject("ChatSystem", KEYBOARD_CHAT_SYSTEM)
    end
end
Overwriting ZO_ChatSystem_DoesPlatformUseGamepadChatSystem() to always return false does not fix this unfortunately. So there might be some bug somewhere making the game think we are not on PC but on "Heron" e.g.?

Last edited by Baertram : 09/23/21 at 09:20 AM.
  Reply With Quote