Karabiner-elements: Shift + any key binding not working

Created on 1 Feb 2020  Â·  2Comments  Â·  Source: pqrs-org/Karabiner-Elements

When karabiner enabled Shift + any key binding is not working.

For example

  • shift + esc to read all messages on slack.
  • shift + f6 to rename variable in IDEA Inteliji

If I disable Karabiner then it works.

I have only CAPS LOCK + hjkl to arrow keys rule in Complex Modification.

No other rules added nowhere and also I can confirm the pressing keys using karabiner event viewer.

Left Shift

type:key_down        code:225        name:left_shift      misc:flags: left_shift 
type:key_down        code:41         name:escape          misc:
type:key_up          code:41         name:escape          misc:
type:key_up          code:225        name:left_shift      misc:

Right Shift

type:key_down        code:229        name:right_shift     misc:flags: right_shift 
type:key_down        code:41         name:escape          misc:
type:key_up          code:41         name:escape          misc:
type:key_up          code:229        name:right_shift     misc:

System Information

[ 01:35:25.847 AM] ➜ system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: macOS 10.15.2 (19C57)
      Kernel Version: Darwin 19.2.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: thamaraiselvam’s MacBook Pro
      User Name: thamaraiselvam (thamaraiselvam)
      Secure Virtual Memory: Enabled
      System Integrity Protection: Disabled
      Time since boot: 4 days 15:03

Karabiner version: 12.9.0

karabiner.json Config

{ "global": { "check_for_updates_on_startup": true, "show_in_menu_bar": false, "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": [ { "description": "CAPS LOCK + hjkl to arrow keys", "manipulators": [ { "conditions": [ { "name": "caps_lock pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "j", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "down_arrow" } ], "type": "basic" }, { "conditions": [ { "name": "caps_lock pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "k", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "up_arrow" } ], "type": "basic" }, { "conditions": [ { "name": "caps_lock pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "h", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "left_arrow" } ], "type": "basic" }, { "conditions": [ { "name": "caps_lock pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "l", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "right_arrow" } ], "type": "basic" }, { "from": { "key_code": "caps_lock", "modifiers": { "optional": [ "any" ] } }, "to": [ { "set_variable": { "name": "caps_lock pressed", "value": 1 } } ], "to_after_key_up": [ { "set_variable": { "name": "caps_lock pressed", "value": 0 } } ], "type": "basic" } ] } ] }, "devices": [ { "disable_built_in_keyboard_if_exists": false, "fn_function_keys": [], "identifiers": { "is_keyboard": true, "is_pointing_device": false, "product_id": 636, "vendor_id": 1452 }, "ignore": false, "manipulate_caps_lock_led": false }, { "disable_built_in_keyboard_if_exists": false, "fn_function_keys": [], "identifiers": { "is_keyboard": true, "is_pointing_device": false, "product_id": 8195, "vendor_id": 16700 }, "ignore": false, "manipulate_caps_lock_led": false, "simple_modifications": [] }, { "disable_built_in_keyboard_if_exists": false, "fn_function_keys": [], "identifiers": { "is_keyboard": true, "is_pointing_device": false, "product_id": 8467, "vendor_id": 16700 }, "ignore": true, "manipulate_caps_lock_led": false, "simple_modifications": [] }, { "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": true, "manipulate_caps_lock_led": false, "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": "fastforward" } }, { "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": 0, "mouse_key_xy_scale": 100 } } ] }

Most helpful comment

Enable this device No product name this solved my issue.

Screenshot 2020-02-23 at 1 14 12 AM

All 2 comments

+1 for Shift(both) + F6 not working in IntelliJ IDEA.
Only add a modification for mapping Left Shift click alone to Left Control + Spacebar to switch input.
Karabiner version: 12.9.0
Rule config :

{
    "title": "Change left_shift to left_control + space if pressed alone",
    "rules": [{
        "description": "Change left_shift to left_control + space if pressed alone",
        "manipulators": [{
            "type": "basic",
            "from": {
                "key_code": "left_shift",
                "modifiers": {
                    "optional": [
                        "any"
                    ]
                }
            },
            "to": [{
                "key_code": "left_shift"
            }],
            "to_if_alone": [{
                "key_code": "spacebar",
                "modifiers": [
                    "left_control"
                ]
            }]
        }]
    }]
}

Enable this device No product name this solved my issue.

Screenshot 2020-02-23 at 1 14 12 AM

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rcaputo picture rcaputo  Â·  3Comments

LittleNewton picture LittleNewton  Â·  3Comments

chaucy picture chaucy  Â·  3Comments

KyleAtDND picture KyleAtDND  Â·  3Comments

baurmatt picture baurmatt  Â·  3Comments