Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] Input Methods not supported #50

Closed
rcano opened this issue Jun 23, 2015 · 22 comments
Closed

[Linux] Input Methods not supported #50

rcano opened this issue Jun 23, 2015 · 22 comments

Comments

@rcano
Copy link

@rcano rcano commented Jun 23, 2015

I'm using the great fcitx for input method handling, unfortunately dota2reborn ignores it completely not allowing me to type in anything but english (it does seem to respect keyboard layout though). It also ignores my xmodmap'ped keys.

@gdrewb-valve gdrewb-valve self-assigned this Jun 23, 2015
@gdrewb-valve

This comment has been minimized.

Copy link
Contributor

@gdrewb-valve gdrewb-valve commented Jun 23, 2015

It's expected that IMEs do not work as there is no support (just as in Source 1 Dota 2). There are issues with keyboard layouts that may affect the xmodmap case, though.

@rcano

This comment has been minimized.

Copy link
Author

@rcano rcano commented Jun 23, 2015

If there is no support for IME in Linux, can we make this issue a feature request? I see no good reason to have IME support in Windows and not in Linux.

@osleg

This comment has been minimized.

Copy link

@osleg osleg commented Jun 29, 2015

@rcano I guess that dota just grabs the keys from X server and using it's own mappings, this actually desired way of how OpenGL should handle this

@rcano

This comment has been minimized.

Copy link
Author

@rcano rcano commented Jun 29, 2015

@osleg Actually a recent update in the Reborn (I didn't pinpoint which) added support for the mapped keys. But when this issue was created it was not picking them up (just like main client).
Still this issue is now an enhancement request for IME support on linux.

@osleg

This comment has been minimized.

Copy link

@osleg osleg commented Jun 29, 2015

@rcano I have xmodmaped keys as well and they are not honored by Reborn, though since last update I was unable to start the game so maybe it was added it in it

@gdrewb-valve

This comment has been minimized.

Copy link
Contributor

@gdrewb-valve gdrewb-valve commented Jul 13, 2015

@osleg, have you been able to try this since? I'm going to rename this to reflect that it's now just for the IME request.

@gdrewb-valve gdrewb-valve changed the title [Linux] Input Methods not supported nor xmodmap'ped keys [Linux] Input Methods not supported Jul 15, 2015
@gdrewb-valve gdrewb-valve removed their assignment Jul 15, 2015
@RenanOliv

This comment has been minimized.

Copy link

@RenanOliv RenanOliv commented Sep 18, 2015

I've done some tests and hopefully I can provide more info about this issue.

My keyboard model is a Steelseries Apex Raw and I'm using Ubuntu 14.04 LTS. As the Apex Raw has no official Linux support I'm using an utility to enable the extra macro keys named ApexCtl.

So basically Dota 2 can't understand my keybinds at all with xmodmaped and since it is kinda deprecated I tried my best to make it work creating a custom xkbmaps.

My MX1-MX5 keys were mapped to F1-F5 keys, but only the MX3 and MX4 keys were able to be binded in Dota 2. When using xev both keys show the same result, the only difference is that the mapped key has a XKeysymToKeycode returns keycode: 19 assigned to it. Any other software is able to understand the mapped keys, I had no problem using it on Firefox, Sublime or Unity.

Maybe Dota can't see any specific Key Codes? It seems very unlikely, since I can use my keyboard macro keys to type in the game chat (If I bind a letter, for example) and all my macro keys key codes are in a good range (183-172).

I hope this can help somehow, I recently switched from Windows and I spent some weeks trying to understand both how the Linux environment works and how to fix this problem.

@gdrewb-valve

This comment has been minimized.

Copy link
Contributor

@gdrewb-valve gdrewb-valve commented Oct 12, 2015

@RenanOliv, if you start with -input_button_code_is_scan_code does that make a difference? That should switch Reborn to using scan codes underneath, which may or may not help you.

This has nothing to do with IMEs, just for clarity with the overall issue.

@gdrewb-valve

This comment has been minimized.

Copy link
Contributor

@gdrewb-valve gdrewb-valve commented May 26, 2016

If only one input method was supported which one would you vote for? fcitx?

@rcano

This comment has been minimized.

Copy link
Author

@rcano rcano commented May 26, 2016

Definitely fcitx.

@xen0n

This comment has been minimized.

Copy link

@xen0n xen0n commented Jun 1, 2016

fcitx 👍 , but maybe supporting the general IME framework like XIM or KDE IM is what people want instead... AFAIK fcitx and ibus are almost equally popular among Chinese users.

@zeroedout

This comment has been minimized.

Copy link

@zeroedout zeroedout commented Jun 15, 2016

It looks like GNOME integrates ibus now, so +1 for ibus! I don't pity the dev that has to look up the different Linux input methods and choose just one to support. Does Valve have data on which desktops / input methods are most common among Linux Steam Users? I mean internal data, I can always point you folk to community data but it's hardly reliable.

@gdrewb-valve

This comment has been minimized.

Copy link
Contributor

@gdrewb-valve gdrewb-valve commented Jun 15, 2016

No, we don't. We've looked at a few options in the past; SDL has ibus support so that's one of the leading contenders.

@gdrewb-valve

This comment has been minimized.

Copy link
Contributor

@gdrewb-valve gdrewb-valve commented Jun 24, 2016

The latest release enables the SDL ibus IME support. Has anybody had any luck trying it out?

@rcano

This comment has been minimized.

Copy link
Author

@rcano rcano commented Jun 28, 2016

I can't test since I don't use ibus IME, only fcitx.

@jingzhaoyang

This comment has been minimized.

Copy link

@jingzhaoyang jingzhaoyang commented Oct 8, 2016

Today, I suddenly found that the Chinese can be input using fcitx, but the Enter open dialogs invalid. I can only click the icon to open the dialog and input .

@gdrewb-valve

This comment has been minimized.

Copy link
Contributor

@gdrewb-valve gdrewb-valve commented Oct 8, 2016

The SDL devs are taking a look at this, I don't think the fcitx support is complete.

@Tele42

This comment has been minimized.

Copy link
Contributor

@Tele42 Tele42 commented Oct 8, 2016

Initial support for fcitx appears to have been added yesterday: https://hg.libsdl.org/SDL/rev/6660aa9120d6

@gdrewb-valve

This comment has been minimized.

Copy link
Contributor

@gdrewb-valve gdrewb-valve commented Oct 13, 2016

I believe the update on Oct. 12 contained full support for fcitx. Can people comment on whether it is working for them?

@rcano

This comment has been minimized.

Copy link
Author

@rcano rcano commented Oct 13, 2016

It works for me! Thanks!
The only issue I have is when using a table lookup (such as for unicodes) the popup appears, but I can't click, my cursor goes back to desktop cursor while hovering over it, but I can't interact. Otherwise it's perfect!

@gdrewb-valve

This comment has been minimized.

Copy link
Contributor

@gdrewb-valve gdrewb-valve commented Oct 13, 2016

Go ahead and open a specific issue for that and I'll assign it to the SDL devs. I'm closing this as the general feature request is addressed, now we'll switch to individual bug issues.

@jatin-cbs

This comment has been minimized.

Copy link

@jatin-cbs jatin-cbs commented Aug 29, 2019

Fcitx not working on fedora 30 for me i cant type japanese on steam Valve doesnt care we know now.. also simply i can type japanese in browser and other places simply adding japanese input in gnome settings but steam is still typing in english. Thanks Valve for pathetic support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
9 participants
You can’t perform that action at this time.