Skip to content

[Windows/Wintercept] can't control keys with deflocalkeys-wintercept #1898

Description

@azizsayfiddin

Description:
I am using Kanata with the wintercept driver on a ThinkPad T14s G3 (Windows 11). I am completely unable to control the keys in F4-F12 range.

The Problem:

  1. Doesn't detect F4-F12 keys. Kanata detects only one hwid, even though there are 2 devices in device manager, HID Keyboard Device and Standard PS/2 Keyboard.
  2. I tried to map brdn and brup in deflayer but got an error that these keys are unknown. When it comes to other keys, I tried to define them in deflocalkeys-wintercept, but Kanata said that it doesn't know those numbers.

Error Log:

[DEBUG] (2) kanata_state_machine::kanata: key press BrightnessDown
[ERROR] Trying to send unmapped oscode 'KEY_BRIGHTNESSDOWN', sending esc instead
[DEBUG] (2) kanata_state_machine::oskbd::windows::interception: kanata sending Keyboard { code: Esc, state: DOWN, information: 0 } to driver

Is there any way to send custom key codes like I can on Linux? Like, I can send a custom key code on Linux even though it's not defined as kanata-wintercept says. Or, does it work completely different on windows-wintercept?

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedBlocked on issues outside of the reasonable control of the kanata projectbugSomething isn't workingwinterceptPertains to wintercept variants of Kanata on Windows

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions