Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Menu key not registering? #43

Open
ekirchman opened this issue Aug 13, 2022 · 0 comments
Open

[Bug] Menu key not registering? #43

ekirchman opened this issue Aug 13, 2022 · 0 comments

Comments

@ekirchman
Copy link

Back when I was using X11 on this laptop, I could use this Xmodmap file to remap the right ctr key to the menu key:
keycode 105 = Menu

In kbct, my config yaml file looks like this:

# Apply this configuration to two keyboards (if connected)
- keyboards: [ "Lenovo TrackPoint Keyboard II", "AT Translated Set 2 keyboard"]

  keymap:
    rightctrl: menu

I can see that the rightctl key is being pressed and kbct is reporting that the menu key is pressed, except no right click menu ever appears. (I also tried replacing "menu" with "context_menu", but I've had no such luck. "context"menu" is reported in the debug, but no context menu appears)

➜  bin sudo RUST_BACKTRACE=1 ~/bin/kbct --debug-log remap --config ~/.config/kbct.yaml
 INFO  kbct > Starting kbct event loop, pid=8327
 INFO  kbct > Capturing device path=/dev/input/event3 name="AT Translated Set 2 keyboard" mapped_name="Kbct-AT Translated Set 2 keyboard"
 DEBUG kbct > +rightctrl -> +menu
 DEBUG kbct > -rightctrl -> -menu
 DEBUG kbct > +leftctrl -> +leftctrl
 DEBUG kbct > +c -> +c

Details:
Fedora 36 KDE with Wayland
Thinkpad T480
kbct v0.1.0

@ekirchman ekirchman changed the title Menu key not registering? [Bug} Menu key not registering? Aug 13, 2022
@ekirchman ekirchman changed the title [Bug} Menu key not registering? [Bug] Menu key not registering? Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant