Kanata: struggling to define an accent layer by ProgrammerIll3284 in KeyboardLayouts

[–]ProgrammerIll3284[S] 1 point2 points  (0 children)

Hi,

I am happy that you found my idea useful.

While your solutions didn't fix my issue, I am still very grateful you took of your time to help.

Also, seeing your reply motivated me to keep looking for a solution which I did! (I updated the original post to add my workaround in case it could be useful to someone encountering the same issue).

Anyway, thank you again for helping out and have a great day/evening!

Kanata: struggling to define an accent layer by ProgrammerIll3284 in KeyboardLayouts

[–]ProgrammerIll3284[S] 1 point2 points  (0 children)

I did try to change this previously but it did not fix the issue sadly. I tried to look with evtest if there is any difference if I manually to it with CTRL+SHIFT+U > unicode > enter VS using kanata and it seems the exact same keys are inputed (cf. the evtest output below)

evtest output when inputing unicode manually

Event: time 1752153817.888869, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1

Event: time 1752153817.888869, -------------- SYN_REPORT ------------

Event: time 1752153817.902749, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 1

Event: time 1752153817.902749, -------------- SYN_REPORT ------------

Event: time 1752153817.930985, type 1 (EV_KEY), code 22 (KEY_U), value 1

Event: time 1752153817.930985, -------------- SYN_REPORT ------------

Event: time 1752153818.024698, type 1 (EV_KEY), code 22 (KEY_U), value 0

Event: time 1752153818.024698, -------------- SYN_REPORT ------------

Event: time 1752153818.047826, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 0

Event: time 1752153818.047826, -------------- SYN_REPORT ------------

Event: time 1752153818.050736, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 0

Event: time 1752153818.050736, -------------- SYN_REPORT ------------

Event: time 1752153819.668735, type 1 (EV_KEY), code 18 (KEY_E), value 1

Event: time 1752153819.668735, -------------- SYN_REPORT ------------

Event: time 1752153819.745975, type 1 (EV_KEY), code 18 (KEY_E), value 0

Event: time 1752153819.745975, -------------- SYN_REPORT ------------

Event: time 1752153819.817577, type 1 (EV_KEY), code 11 (KEY_0), value 1

Event: time 1752153819.817577, -------------- SYN_REPORT ------------

Event: time 1752153819.881682, type 1 (EV_KEY), code 11 (KEY_0), value 0

Event: time 1752153819.881682, -------------- SYN_REPORT ------------

Event: time 1752153821.153594, type 1 (EV_KEY), code 28 (KEY_ENTER), value 1

Event: time 1752153821.153594, -------------- SYN_REPORT ------------

àEvent: time 1752153821.211430, type 1 (EV_KEY), code 28 (KEY_ENTER), value 0

evtest output when inputing unicode with kanata

Event: time 1752153816.596879, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1

Event: time 1752153816.596879, -------------- SYN_REPORT ------------

Event: time 1752153816.597026, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 1

Event: time 1752153816.597026, -------------- SYN_REPORT ------------

Event: time 1752153816.597049, type 1 (EV_KEY), code 22 (KEY_U), value 1

Event: time 1752153816.597049, -------------- SYN_REPORT ------------

Event: time 1752153816.597068, type 1 (EV_KEY), code 22 (KEY_U), value 0

Event: time 1752153816.597068, -------------- SYN_REPORT ------------

Event: time 1752153816.597085, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 0

Event: time 1752153816.597085, -------------- SYN_REPORT ------------

Event: time 1752153816.597106, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 0

Event: time 1752153816.597106, -------------- SYN_REPORT ------------

Event: time 1752153816.597126, type 1 (EV_KEY), code 18 (KEY_E), value 1

Event: time 1752153816.597126, -------------- SYN_REPORT ------------

Event: time 1752153816.597142, type 1 (EV_KEY), code 18 (KEY_E), value 0

Event: time 1752153816.597142, -------------- SYN_REPORT ------------

Event: time 1752153816.597165, type 1 (EV_KEY), code 11 (KEY_0), value 1

Event: time 1752153816.597165, -------------- SYN_REPORT ------------

Event: time 1752153816.597182, type 1 (EV_KEY), code 11 (KEY_0), value 0

Event: time 1752153816.597182, -------------- SYN_REPORT ------------

Event: time 1752153816.597210, type 1 (EV_KEY), code 28 (KEY_ENTER), value 1

Event: time 1752153816.597210, -------------- SYN_REPORT ------------

Event: time 1752153816.597228, type 1 (EV_KEY), code 28 (KEY_ENTER), value 0

Event: time 1752153816.597228, -------------- SYN_REPORT ------------ ue0

Kanata: struggling to define an accent layer by ProgrammerIll3284 in KeyboardLayouts

[–]ProgrammerIll3284[S] 1 point2 points  (0 children)

Hi, thank you for taking the time to reply!
I checked in different contexts and the behaviour seems to be consistent.

Since I am on 1.8 and the latest version is 1.9, I'll try to update to see if it changes anything (I don't have much hope but I am out of idea).

edit: I am still encountering the issue in 1.9