jtroo / kanata

Improve keyboard comfort and usability with advanced customization
GNU Lesser General Public License v3.0
2.54k stars 122 forks source link

Bug: Unicode output does not work with interception driver in admin window #1319

Open rpnfan opened 21 hours ago

rpnfan commented 21 hours ago

Requirements

Describe the bug

Unicode output does not work with interception driver in admin window

Relevant kanata config

No response

To Reproduce

  1. Windows 11 with interception driver running
  2. open cmd-window with admin rights
  3. type a key which should output a character defined via unicode, such as pipe (unicode |)

Expected behavior

output should work in non-admin and admin windows

Kanata_gui does not have that problem btw and works fine

Kanata version

1.71 pre-version

Debug logs

No response

Operating system

Win 11

Additional context

No response

jtroo commented 2 hours ago

Unicode even with interception variant still uses winapi and not the driver since driver doesn't know about Unicode.

jtroo commented 2 hours ago

Need to run as admin or execute from privileged location+sign the binary.