Jump to content

Unable to use non ASCII keys in custom input


Recommended Posts

Hi,

As french user, some of my keys return non ASCII symbols, such as 'é'. When I want to customise my inputs, these keys are not accepted by KSP.

Would that be possible to correct that ?

Thanks in advance,

Edited by Oygron
Link to comment
Share on other sites

Hi Oygron.

You could force KSP to use the Posix standard for input by starting the game from the terminal or a shell script with "LC_ALL=C ./KSP.x86" or "LC_ALL=C ./KSP.x86_64", this should cause your 'é' to be changed to 'e' and be accepted by the game.

Link to comment
Share on other sites

Hi Oygron.

You could force KSP to use the Posix standard for input by starting the game from the terminal or a shell script with "LC_ALL=C ./KSP.x86" or "LC_ALL=C ./KSP.x86_64", this should cause your 'é' to be changed to 'e' and be accepted by the game.

Hi sal_vager,

Thanks for the tip. But won't that imply that the actions set for 'e' and 'é' will both be done if I press the one or the other ?

Thanks,

Oygron

Link to comment
Share on other sites

Hi,

Unfortunately, neither "LC_ALL=C ./KSP.x86_64" nor "LC_ALL=fr_FR.UTF-8 ./KSP.x86_64" seems to do anything (tried both in terminal and Steam). In both case, I am stuck with the default behavior, that is keypress 'é' is ignored by KSP in settings/input.

Is there a system variable / conf file to check and set?

Thanks,

Oygron

Link to comment
Share on other sites

I use a french variant of the dvorak layout named bépo. And the problem is that with that layout I do have a lot of non ASCII keys distributed among the keyboard, and cannot find a block of 6 keys without one to set up the moves.

Link to comment
Share on other sites

Yes, I can use another layout, that's what I'm doing now to be able to play this game. But that's not a great experience having to switch layout each time I launch the game and each time I quit the game.

Every other game and program I use recognise these keys (that are present on lots of layouts, the specificity of bépo is just that it is mixed with other keys in the middle of the keyboard, the keycode is not new at all). It must not be rocket science to be able to accept them, that's why I ask for it.

Edited by Oygron
Link to comment
Share on other sites

Well it seems it may be rocket science to make this work, I can find no information on making KSP or other Unity3D games accept your keyboard layout in the manner you would like.

People with Azerty keyboard layouts have a similar problem in that KSP does not handle the input correctly.

There is a Linux command called loadkeys that could be used in a script to set the layout when starting KSP, and resetting it when KSP closes, though all references to it I have found refer only to the terminal and I cannot make it work here on Ubuntu.

Similarly, setxkbmap should set the keyboard for X programs, you can find some info on it here.

Neither of these options are very user friendly however.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...