Caps Lock/Mouse Key = Esc + Hyper

Hello there!

I would like to use my Caps Lock/Mouse Key as Esc when tap and Hyper when holding. I’m currently using the following macro, but my Linux system only reports Left Control.

ifPrimary final tapKey escape
holdKey LSCGA

Thanks in advanced for any help!

I understand from your post that you cannot get the Hyper combination to be registered correctly by your Linux. You are sending it as a secondary action in your macro, but the UHK does not seem to send the proper scancodes, so the host does not understand it as Hyper.

Have you tried holdKey LSLCLGLA?

1 Like

Hi there!

I have just tested your macro and it works fine here. (Linux with https://keyboardchecker.com/ )

I expect that your window manager intercepts them and handles in some special way.

Have you tried holdKey LSLCLGLA?

This will make no difference.

1 Like

Thanks both @kareltucek and @maexxx for the reply! Yeah, using the Keyboard Checker, my macro is registered, but for some reason it does not work in my window manager once I assigned a shortcut.
In the other hand, it worked with LSLCLGLA. My shortcuts works as expected when I assigned the Hyper key to them.

Maybe it is something related with the window manager or something. I currently using Arch Linux + KDE Plasma + Kwin + Wayland.

Thanks again!

To be clear holdKey LSLCLGLA and holdKey LSCGA produce the same usb reports. (I have gone and tested it right now.)

If you have a solid evidence for the contrary, please provide it :wink: .