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

backslash on JIS keyboard #982

Closed
LyliannaLam opened this issue Sep 13, 2017 · 7 comments

Comments

Projects
None yet
4 participants
@LyliannaLam
Copy link

commented Sep 13, 2017

Hi, there.
I want to remap yen key (international 3) to backslash;
however, when I map yen key to backslash, it prints close bracket ( ] ).
If I set yen key to non us backslash, it prints section ( § ).
Is there any way to solve this issue?

@griffin-stewie

This comment has been minimized.

Copy link

commented Sep 19, 2017

same here. I'm using JIS keyboard that builtin with MacBook Pro Late 2016.
It's working when I set Virtual Keyboard Keyboard Type to ISO or ANSI, but it doesn't work when I set it as JIS.

Does anyone has a solution about this issue?

@hirakujira

This comment has been minimized.

Copy link

commented Oct 11, 2017

First, open this link in Safari to import JIS to ASCII settings.

karabiner://karabiner/assets/complex_modifications/import?url=https%3A%2F%2Fpqrs.org%2Fosx%2Fkarabiner%2Fcomplex_modifications%2Fjson%2Fjis_to_ascii.json

Then, modify the config file, you can cmd+shift+G to ~/.config/karabiner/assets/complex_modifications/ and you can see a json file.

Find "バッククオートとチルダを割り当てる。" in that file, and modify that part to

{ "description": "バッククオートとチルダを割り当てる。", "manipulators": [ { "type": "basic", "from": { "key_code": "international3", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "international3", "modifiers": [ "option" ] } ] } ] }

That's all. remember to reopen karabiner-elements to apply

@griffin-stewie

This comment has been minimized.

Copy link

commented Oct 12, 2017

@hirakujira
Thank you. I could get behavior that I expect.

@tekezo
I think @hirakujira's way is one of workaround and it's not straightforward. I wish I could remap that I expect via "Simple Modifications" instead of "Complex Modifications".

@hirakujira

This comment has been minimized.

Copy link

commented Oct 14, 2017

@griffin-stewie

I think this is not very possible unless theres a GUI for complex modifications.
Because the symbol \ in JIS keyboard should be option + yen (international 3), which is not configurable in simple modification.

An easier way to do this is asking @tekezo consider to add sample config like what I modified in the sample list, so you can just add this feature by adding configuration file

@griffin-stewie

This comment has been minimized.

Copy link

commented Oct 15, 2017

We could remap Yen to backslash simply Karabiner(previous version of Karabiner-Elements) so I thought current behavior is not expected behavior.

@terry182

This comment has been minimized.

Copy link

commented Jan 14, 2018

Same here. But my problem with my JIS keyboard is that it has a backslash key right next to the slash key. The event viewer shows the key was International1 but I can't remap it to backslash.

I tried the remapping and it gives the same result as @ambieneuphoria

@stale

This comment has been minimized.

Copy link

commented Mar 15, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 15, 2018

@stale stale bot closed this Mar 22, 2018

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