pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.76k stars 837 forks source link

Can I disable Key Stuck Protection? Keyboard Being Ignored Temporarily Issue. #3795

Open freddie-merc opened 6 months ago

freddie-merc commented 6 months ago

As per #1848 has discussed, a lot of people are having this problem of a certain key being temporarily disabled, which #3770 has explained very well, that this is a protection of potential key stuck.

The problem is, I'm using a keyboard called ikbc which only has a bluetooth mode to connects to Mac (14.4.1), and there is no setting or adjustment software to change anything for the connection. (This means that there is nothing to fix as suggested in #3770 )

The keyboard will be stopped from time to time and a warning like [2024-04-29 16:24:33.175] [warning] [grabber] ikbc W210 (device_id:4294993818) is ignored temporarily until {"key_code":"delete_or_backspace"} is pressed again. will show up in the log and notification.

It happens even when I'm songwriting and video editing, which significantly disrupt and slowdown my workflow. Yet, I need to use this PC styled keyboard for both Mac and Win platform (not simultaneously), so keyboard remapping is a must.

I think it is not my keyboard's problem since a lot of people in #1848 has the same issue.

Can you give me the option to disable the key stuck protection? I know my keyboard very well, it won't easily get stuck.

The following is an excerpt of the log:

[2024-04-29 14:05:35.417] [info] [observer] rescan devices... [2024-04-29 14:05:35.421] [info] [observer] ikbc W210 (device_id:4294990374) is observed. [2024-04-29 14:05:36.411] [info] [grabber] caps lock is found on ikbc W210 [2024-04-29 14:05:36.411] [info] [grabber] device_grabber_details::entry eventorigin is updated. ikbc W210 (device_id:4294990374): none -> grabbed_device [2024-04-29 14:05:36.413] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 17caaac9e8f2ca08.sock [2024-04-29 14:05:54.389] [info] [grabber] system_will_power_on [2024-04-29 14:05:54.392] [info] [grabber] ikbc W210 (device_id:4294990374) hid queue value monitor is started (grabbed). [2024-04-29 14:05:54.392] [info] [grabber] caps_lock_led_state_manager is started: ikbc W210 [2024-04-29 14:05:54.393] [info] [grabber] USB Receiver (device_id:4294990207) hid queue value monitor is started (grabbed). [2024-04-29 14:05:54.393] [info] [grabber] caps_lock_led_state_manager is started: USB Receiver [2024-04-29 14:05:54.393] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 17caaac9e8f2ca08.sock [2024-04-29 14:05:54.394] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 17caaac9e8f2ca08.sock [2024-04-29 14:05:54.395] [info] [grabber] USB Receiver (device_id:4294990213) hid queue value monitor is started (observed). [2024-04-29 14:05:54.395] [info] [grabber] Apple Internal Keyboard / Trackpad (device_id:4294970073) hid queue value monitor is started (observed). [2024-04-29 14:05:54.396] [info] [grabber] Apple Internal Keyboard / Trackpad (device_id:4294970071) hid queue value monitor is started (grabbed). [2024-04-29 14:05:54.396] [info] [grabber] caps_lock_led_state_manager is started: Apple Internal Keyboard / Trackpad [2024-04-29 14:05:54.396] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 17caaac9e8f2ca08.sock [2024-04-29 14:05:54.396] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 17caaac9e8f2ca08.sock [2024-04-29 14:05:54.396] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 17caaac9e8f2ca08.sock

[2024-04-29 14:05:54.397] [warning] [grabber] ikbc W210 (device_id:4294990374) is ignored temporarily until {"key_code":"keypad_period"} is pressed again.

[2024-04-29 14:05:54.398] [info] [grabber] ikbc W210 (device_id:4294990374) hid queue value monitor is stopped. [2024-04-29 14:05:54.398] [info] [grabber] caps_lock_led_state_manager is stopped: ikbc W210 [2024-04-29 14:05:54.398] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 17caaac9e8f2ca08.sock [2024-04-29 14:05:54.445] [info] [grabber] system_has_powered_on [2024-04-29 14:05:54.445] [warning] [grabber] ikbc W210 (device_id:4294990374) is ignored temporarily until {"key_code":"keypad_period"} is pressed again. [2024-04-29 14:05:54.471] [info] [grabber] ikbc W210 (device_id:4294990374) hid queue value monitor is started (grabbed). [2024-04-29 14:05:54.471] [info] [grabber] caps_lock_led_state_manager is started: ikbc W210 [2024-04-29 14:05:54.472] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 17caaac9e8f2ca08.sock [2024-04-29 14:42:26.248] [info] [grabber] ikbc W210 (device_id:4294990374) is terminated. [2024-04-29 14:42:26.260] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 17caaac9e8f2ca08.sock [2024-04-29 14:42:26.266] [info] [observer] device_id:4294990374 is terminated. [2024-04-29 14:42:26.270] [info] [observer] rescan devices... [2024-04-29 14:42:31.171] [info] [observer] matching device: [2024-04-29 14:42:31.171] [info] [observer] registry_entry_id: 4294991312 [2024-04-29 14:42:31.171] [info] [observer] manufacturer: ikbc [2024-04-29 14:42:31.171] [info] [observer] product: ikbc W210 [2024-04-29 14:42:31.171] [info] [observer] vendor_id: 6785 [2024-04-29 14:42:31.171] [info] [observer] product_id: 4881 [2024-04-29 14:42:31.171] [info] [observer] location_id: 0x695ba0f1 [2024-04-29 14:42:31.171] [info] [observer] serial_number: BT_Keyboard [2024-04-29 14:42:31.188] [info] [observer] is_keyboard: true [2024-04-29 14:42:31.198] [info] [observer] is_pointing_device: false [2024-04-29 14:42:31.216] [info] [observer] rescan devices... [2024-04-29 14:42:31.218] [info] [observer] ikbc W210 (device_id:4294991312) is observed. [2024-04-29 14:42:32.195] [info] [grabber] caps lock is found on ikbc W210 [2024-04-29 14:42:32.195] [info] [grabber] device_grabber_details::entry eventorigin is updated. ikbc W210 (device_id:4294991312): none -> grabbed_device [2024-04-29 14:42:32.197] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 17caaac9e8f2ca08.sock [2024-04-29 14:42:32.200] [info] [grabber] ikbc W210 (device_id:4294991312) hid queue value monitor is started (grabbed). [2024-04-29 14:42:32.201] [info] [grabber] caps_lock_led_state_manager is started: ikbc W210 [2024-04-29 14:42:32.201] [info] [virtual_hid_device_service] received request::virtual_hid_pointing_terminate: 17caaac9e8f2ca08.sock

xinatcg commented 1 month ago

+1 , cannot see any reason why need it