I have refactored the code that positions the keyboard.
Now it does not consult the bordersize configuration option every time the keyboard has to be shown.
The variable is only read when the options are updated, when the keyboard is displayed it reads from the variable state.cfg.BorderSize
I am closing this PR because this change only affects a new console (data frog SF2000), it is better than when the core for this console is working correctly to request the PR with all the changes
I have refactored the code that positions the keyboard. Now it does not consult the bordersize configuration option every time the keyboard has to be shown. The variable is only read when the options are updated, when the keyboard is displayed it reads from the variable state.cfg.BorderSize