What's the "RightInputMode" and how to use it?

I started playing around UI in my game and X alightment of windows became a problem. I think this might be due to the fact of me not understanding what's "isRightInputMode" and what it does, and what calculations before and after the colon do.

For example:
I want to add a little bit of space at the left of the command window in the menu (about x pixels), and here's what I have so far:

JavaScript:
const rows = 6;
const width = this.mainCommandWidth();
const height = this.calcWindowHeight(rows, true);
const x = this.isRightInputMode() ? Graphics.boxWidth - width: 0;
const y = Graphics.boxHeight / 2 - height / 2;
return new Rectangle(x, y, width, height);
You can simply search for that text in your js folder to see what the function does.

As it turns out...nothing. I don't know if it's something they planned to implement but didn't have time (or perhaps a future change), but as written isRightInputMode() simply returns true, and there's nothing in the default code that ever changes that.

So whatever your alignment issue is, it has nothing to do with that - it's always using that first result, the Graphics.boxWidth equation.
You can simply search for that text in your js folder to see what the function does.

As it turns out...nothing. I don't know if it's something they planned to implement but didn't have time (or perhaps a future change), but as written isRightInputMode() simply returns true, and there's nothing in the default code that ever changes that.

So whatever your alignment issue is, it has nothing to do with that - it's always using that first result, the Graphics.boxWidth equation.
I see now... Thanks!
but as written isRightInputMode() simply returns true, and there's nothing in the default code that ever changes that.
I think it's changed in the japanese engine and determines from which side the letters are displayed.
as such it is of course not a variable changed any way during the game, but just for international compatibility between different writing systems.
I think it's changed in the japanese engine and determines from which side the letters are displayed.
as such it is of course not a variable changed any way during the game, but just for international compatibility between different writing systems.
Andar is correct. It's not a setting western users will need to worry or know about.

Original thread: https://forums.rpgmakerweb.com/threads/whats-the-rightinputmode-and-how-to-use-it.154716/