I am trying to make a textual interface that doesn't rely on the mouse in order to focus widgets. All I have is a TextInput widget and I want this to always be focused/active such that it doesn't need selecting by the user with the mouse in order to type, I want whatever the user types to be input.
I have got as far as making it so that the user only needs to hover their mouse over the widget in order to use it using:
co.owner['sys'].layout.input.system.focused_widget = co.owner['sys'].layout.input co.owner['sys'].layout.input.just_activated = 1
I can't however seem to find which attribute needs changing in order for the widget to always think the mouse is hovering over it,
co.owner['sys'].layout.input._hover = True
doesn't seem to do this.
I've also tried
but this constantly refreshes the input field so I can't type more than 1 letter.