Page 1 of 1

Keyboard Focus and Viewports?

Posted: Wed Feb 23, 2022 6:32 pm
by Jackkel Dragon
Is there a way to make keyboard/gamepad focusing to work properly with viewports and similar displayables? In my current projects, I find that I can't select anything inside a viewport unless I first highlight something inside it with my mouse. (When creating a similar layout without a viewport, focus works as I'd expect it to.) Is there something special that needs to be done to ensure that viewports and keyboard controls work well together?

(As a side note, even the default GUI in the most recent versions of Ren'Py, on which I based my current UI, doesn't have very good keyboard support. It seems to have the same issues, though some screens work a bit better than others.)