Closed Lizzix closed 6 years ago
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?
First, open this link in Safari to import JIS to ASCII settings.
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
@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".
@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
We could remap Yen to backslash simply Karabiner(previous version of Karabiner-Elements) so I thought current behavior is not expected behavior.
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
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.
This problem still occurred on 12.10.0.
That was the event logs when I typed ]
by a built-in keyboard on MacBook Pro (15-inch, 2018). It seems the ]
was recognized as \
, but I could type ]
by the same key on other apps like TextEdit as correctly.
I assumed the problem caused by keyboard type mismatch (expected JIS but it might be recognized as US). So I had tried following steps:
45
from 0
/Library/Application\ Support/org.pqrs
and ~/.config/karabiner
(and why I used v12.10.0 is I could not activate the driver of 13.13.0 on Catalina.)
First, open this link in Safari to import JIS to ASCII settings.首先,在 Safari 中打开此链接以将 JIS 导入 ASCII 设置。
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.然后,修改配置文件,可以cmd+shift+G到~/.config/karabiner/assets/complex_modifications/,就可以看到一个json文件。
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就这样。记得重新打开 karabiner-elements 来应用
It works, thx
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?