浏览代码

fix: altgr on Windows (#23)

issue: #22
trilowy 11 月之前
父节点
当前提交
3300783c9f
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      kanata/kanata.kbd

+ 11 - 0
kanata/kanata.kbd

@@ -68,4 +68,15 @@
 ;; (include defalias_qwertz_pc.kbd)  ;; Qwertz PC
 ;; (include defalias_bepo_pc.kbd)  ;; Bépo PC
 
+;;-----------------------------------------------------------------------------
+;; Extra configuration
+;; You should not modify this, only if you need to.
+
+(defcfg
+  ;; Enabled makes kanata process keys that are not defined in defsrc
+  ;; Fixes altgr for Windows (see Arsenik issue #22)
+  process-unmapped-keys yes
+  windows-altgr cancel-lctl-press
+)
+
 ;; vim: set ft=lisp