How to use console command with JP keyboard?

Hello,

In Rocket, it became impossible to call console command by pressing TAB. We can still press tilde key to call console, but 106 Japanese keyboards have tilde key at different point from 101 English keyboards and can’t call console command even if I press it.

What should we do?

Thanks in advance,

Kazuhisa Minato.

Hey Minato! Great to hear from you.

I remember having issues in UE3 with Japanese keyboards where you couldn’t open the long console with the “全角/半角” key (the key that is in the same place that the “~” key is on an English keyboard), but tab worked to open the short console.

I asked Rob and Jun from the Yokohama office, and they said that the “@” key opens both consoles (long and short) for them on their Japanese keyboards. I think they are using regular UE4 though, and not Rocket, but I think it’s the same in both. Does that work for you?

Perhaps the Editor team could make the key used to open the console rebind-able by the users, I’ll see if that’s an easy change to make.

Hi Joe,

Thank you for your reply! I confirmed that we can call console by pressing “@” in JP keyboard. It is available in both of UE4 and Rocket.

Recently in the main branch the ability to remap the “open console” key was added to the Project Settings in the Editor:

consolekeyrebind.png

Not sure when exactly this will make it into a Rocket build, but it should be soon hopefully!

Hi there!

“Perhaps the Editor team could make the key used to open the console rebind-able by the users”

Have either of you tried going into your project’s Config/DefaultInput.ini

and adding these lines?

    [/Script/Engine.Console]

    ;change this to a different EKey name
    ConsoleKey=Tilde 

    TypeKey=Tab

I’m not sure how the Key naming scheme changes for Japanese keyboards, but I have a list of all possible values in the Keys Enum on my tutorial page.

http://forums.epicgames.com/threads/972861-TUTORIALS-C-for-UE4-gt-gt-New-Complete-Code-Custom-Screenshot-Save-System-For-You?p=31660286&viewfull=1#post31660286

I’d put the whole thing here, but it’s reallly long :slight_smile:

you can try playing with changing ConsoleKey to any of the values below/in my tutorial

Again I’m not sure if the Enum struct is different in Japanese version, but this struct is in InputCoreTypes.h if you want to check

here’s the first part of it:

UENUM()
namespace EKeys
{
	enum Type
	{
		MouseX=0,
		MouseY,
		MouseScrollUp,
		MouseScrollDown,

		//slate uses Spin
		MouseWheelSpin,

		LeftMouseButton,
		RightMouseButton,
		MiddleMouseButton,
		ThumbMouseButton,
		ThumbMouseButton2,

		BackSpace,
		Tab,
		Enter,
		Pause,

		CapsLock,
		Escape,
		SpaceBar,
		PageUp,
		PageDown,
		End,
		Home,

		Left,
		Up,
		Right,
		Down,

		Insert,
		Delete,

		Zero,
		One,
		Two,
		Three,
		Four,
		Five,
		Six,
		Seven,
		Eight,
		Nine,

		A,
    	B,
    	C,

//....

//some other exciting candidates :)

            Semicolon,
		Equals,
		Comma,
		Underscore,
		Period,
		Slash,
		Tilde,
		LeftBracket,
		Backslash,
		RightBracket,
		Quote,

Hi Nathan,

Thank you. I understand that we can re-bind it by modifying INI file settings. I tried to find it in Editor > Keyboard Shortcuts. Japanese keyboards don’t have big difference from English keyboards, but positions of symbols have a few difference. So re-biding is very helpful for us.

“So re-biding is very helpful for us.”

That’s great to hear Kazuhisa!

Let us all know if you need any further assistance with this!

:slight_smile:

Rama

!!! Answer at 4:22