Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug: Home-row mods not working #1821

@Mohd-Saaad

Description

@Mohd-Saaad

Requirements

Describe the bug

I am on Arch now suddenly the keyboard stoped working it started after reboot but now home-row-mod doesn't work esc key works normally but home-row-mod doesn't

here is my kbd file

;; Home row mods QWERTY example with more complexity.
;; - home row mods disable when tapped rapidly
;; - tap-hold-release improves responsiveness
;; - early tap when pressing another key on same half
(defcfg
process-unmapped-keys yes
)
(defsrc
caps esc a s d f j k l ;
)
(defvar
tap-time 100
hold-time 200
left-hand-keys (
q w e r t
a s d f g
z x c v b
)
right-hand-keys (
y u i o p
h j k l ;
n m , . /
)
)
(deflayer base
esc caps @A @s @d @f @j @k @l @;
)
(deflayer nomods
esc caps a s d f j k l ;
)
(deffakekeys
to-base (layer-switch base)
)
(defalias
tap (multi
(layer-switch nomods)
(on-idle-fakekey to-base tap 20)
)
a (tap-hold-release-keys $tap-time $hold-time (multi a @tap) lmet $left-hand-keys)
s (tap-hold-release-keys $tap-time $hold-time (multi s @tap) lalt $left-hand-keys)
d (tap-hold-release-keys $tap-time $hold-time (multi d @tap) lsft $left-hand-keys)
f (tap-hold-release-keys $tap-time $hold-time (multi f @tap) lctl $left-hand-keys)
j (tap-hold-release-keys $tap-time $hold-time (multi j @tap) rctl $right-hand-keys)
k (tap-hold-release-keys $tap-time $hold-time (multi k @tap) rsft $right-hand-keys)
l (tap-hold-release-keys $tap-time $hold-time (multi l @tap) ralt $right-hand-keys)
; (tap-hold-release-keys $tap-time $hold-time (multi ; @tap) rmet $right-hand-keys)
)

Relevant kanata config


To Reproduce

I don't know it started after I switched the OS to windows for a moment and back to Arch

Expected behavior

Home-row-mods to work normally

Kanata version

kanata 1.9.0

Debug logs

kanata --debug                                                                                                                                       14:12 
14:12:24.5261 [INFO] kanata v1.9.0 starting
14:12:24.5261 [ERROR] No config files provided
For more info, pass the `-h` or `--help` flags.


Press enter to exit

Error: No config files provided
For more info, pass the `-h` or `--help` flags.

Operating system and I/O mechanism

Linux

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinglinuxIssue pertains to Linux onlyquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions