DreymaR / BigBagKbdTrixXKB

"DreymaR's Big Bag of Keyboard Tricks" for *nix with XKB
MIT License
200 stars 39 forks source link

`\` key is broken in pc104aw-zqu layout #4

Closed alaviss closed 6 years ago

alaviss commented 7 years ago

My keyboard configuration:

Option "XkbLayout" "us"
Option "XkbModel" "pc104aw-zqu"
Option "XkbVariant" "cmk_ed_us"
Option "XkbOptions" "misc:extend,lv5:caps_switch_lock,grp:shifts_toggle,compose:menu,keypad:pointerkeys,misc:cmk_curl_dh"

The \ key generates no symbol whatsoever

KeyPress event, serial 33, synthetic NO, window 0x2000001,
    root 0xf5, subw 0x0, time 30662205, (244,77), root:(261,482),
    state 0x0, keycode 51 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

xev output on \ keypress

alaviss commented 7 years ago

Commenting out line 413 in file keycodes/evdev fixes the problem

DreymaR commented 7 years ago

Thanks! I suspect the alias <BKSL> = <AC12> may be the culprit.

The offending line used to be commented out because it maps the key just like the default.

Could you test whether this line works: <BKSL> = 51; // \ < \

alaviss commented 7 years ago

Thanks! It works nicely