Page 1 of 1

XboxOne onscreen keyboard cannot be closed with "B"

Posted: 14 Dec 2021, 23:30
by sgonchar
Hello,
We're on Noesis 3.1.1-10893. This is in xbox native.
We're seeing an xbox OS keyboard show up again if you try to exit it with "B".

This seems to happen because:
GameCoreDisplay::ProcessInput(...)
        ... 
        GameInputGamepadState state;
        reading->GetGamepadState(&state); // state definitely says A button is pressed
        ... 
state comes out of GetGamepadState saying "A" is pressed (when I only pressed "B") and focus engage gets triggered from there and keyboard opens.

I'm wondering if you have seen something like this before?
As far as I can tell we don't do any switching of buttons in this case (like PS switches O and X), is there anything earlier up the food chain that can effect this?
It might be as silly off by 1 on some enum .. as A to B is 179 to 180.
Note this doesn't happen if I break point in SoftwareKeyboard::Callback .. does that mean there might be an "input flush" call missing?
Edit: anecdotally this may have something to do with focus engage / focus without engage.

Re: XboxOne onscreen keyboard cannot be closed with "B"

Posted: 15 Dec 2021, 12:33
by jsantos
Are you reproducing this in our Login example? I will check later but this is probably a bug, input state should be reset after closing the on-screen keyboard.