-
-
Notifications
You must be signed in to change notification settings - Fork 829
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
Comments
same here. I'm using JIS keyboard that builtin with MacBook Pro Late 2016. Does anyone has a solution about this issue? |
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
That's all. remember to reopen karabiner-elements to apply |
@hirakujira @tekezo |
I think this is not very possible unless theres a GUI for complex modifications. 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 I assumed the problem caused by keyboard type mismatch (expected JIS but it might be recognized as US). So I had tried following steps:
(and why I used v12.10.0 is I could not activate the driver of 13.13.0 on Catalina.) My environmentssw_vers$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H15 ~/.config/karabiner/karabiner.json{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": []
},
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 34304,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": []
}
],
"fn_function_keys": [
{
"from": {
"key_code": "f1"
},
"to": {
"consumer_key_code": "display_brightness_decrement"
}
},
{
"from": {
"key_code": "f2"
},
"to": {
"consumer_key_code": "display_brightness_increment"
}
},
{
"from": {
"key_code": "f3"
},
"to": {
"key_code": "mission_control"
}
},
{
"from": {
"key_code": "f4"
},
"to": {
"key_code": "launchpad"
}
},
{
"from": {
"key_code": "f5"
},
"to": {
"key_code": "illumination_decrement"
}
},
{
"from": {
"key_code": "f6"
},
"to": {
"key_code": "illumination_increment"
}
},
{
"from": {
"key_code": "f7"
},
"to": {
"consumer_key_code": "rewind"
}
},
{
"from": {
"key_code": "f8"
},
"to": {
"consumer_key_code": "play_or_pause"
}
},
{
"from": {
"key_code": "f9"
},
"to": {
"consumer_key_code": "fast_forward"
}
},
{
"from": {
"key_code": "f10"
},
"to": {
"consumer_key_code": "mute"
}
},
{
"from": {
"key_code": "f11"
},
"to": {
"consumer_key_code": "volume_decrement"
}
},
{
"from": {
"key_code": "f12"
},
"to": {
"consumer_key_code": "volume_increment"
}
}
],
"name": "Default profile",
"parameters": {
"delay_milliseconds_before_open_device": 1000
},
"selected": true,
"simple_modifications": [],
"virtual_hid_keyboard": {
"country_code": 45,
"mouse_key_xy_scale": 100
}
}
]
} /Library/Application\ Support/org.pqrs/tmp/karabiner_grabber_device_details.json[
{
"device_id": 4294969187,
"is_karabiner_virtual_hid_device": false,
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 34304,
"vendor_id": 1452
},
{
"device_id": 4294968665,
"is_built_in_keyboard": true,
"is_karabiner_virtual_hid_device": false,
"is_keyboard": true,
"is_pointing_device": false,
"location_id": 18446744071567310848,
"manufacturer": "Apple Inc.",
"product": "Apple Internal Keyboard / Trackpad",
"product_id": 636,
"serial_number": "FM782150110HYYMAM+TWN",
"transport": "USB",
"vendor_id": 1452
},
{
"device_id": 4294968664,
"is_built_in_pointing_device": true,
"is_karabiner_virtual_hid_device": false,
"is_keyboard": false,
"is_pointing_device": true,
"location_id": 18446744071567310848,
"manufacturer": "Apple Inc.",
"product": "Apple Internal Keyboard / Trackpad",
"product_id": 636,
"serial_number": "FM782150110HYYMAM+TWN",
"transport": "USB",
"vendor_id": 1452
}
] /Library/Application\ Support/org.pqrs/tmp/karabiner_grabber_manipulator_environment.json{
"frontmost_application": {
"bundle_identifier": "com.google.Chrome",
"file_path": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
},
"input_source": {
"input_mode_id": "com.apple.inputmethod.Roman",
"input_source_id": "com.apple.inputmethod.Kotoeri.Roman",
"language": "en"
},
"system_preferences_properties": {
"keyboard_types": [
[
{
"country_code": 45,
"product_id": 10203,
"vendor_id": 5824
},
42
]
],
"scroll_direction_is_natural": true,
"use_fkeys_as_standard_function_keys": false
},
"variables": {},
"virtual_hid_keyboard_country_code": 45,
"virtual_hid_keyboard_keyboard_type": "jis"
} |
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?
The text was updated successfully, but these errors were encountered: