-
I don’t know Kanata, but you need to find out which key codes are sent for the multimedia functions in order to remap them. This file [0] (linked from [1]) contains the key names Katana knows, and it has entries like “VolumeUp”. You could try to remap those to the respective function key.
There are some keyboards, however, which send multimedia commands via USB “out of band” from normal key codes, and which therefore cannot be remapped that way.
[0] https://github.com/jtroo/kanata/blob/main/parser/src/keys/mo...
[1] https://jtroo.github.io/config.html#key-names
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
I'd also recommend checking out https://github.com/houmain/keymapper if you're interested in context aware remaps (based on OS, application, device). It's cross-platform as well.
Keymapper was posted here ~10 days ago https://news.ycombinator.com/item?id=42871040, but the link received relatively little attention, so I assume it might have been missed by many.
Disclaimer: I'm active on the issue threads and a big fan. :)
-
This is probably the joint most important piece of software on my system next to my window manager.
The elevator pitch I give for this software is "QMK for any keyboard" - you can use layers, tap dance etc. with regular keyboards that have programming symbols in sane locations with dedicated keys.
I use this with a Logitech Ergo K860, and have taken it a step further to integrate with my window manager so that layers change automatically based on the focused application[1].
[1]: https://github.com/LGUG2Z/komokana
-
For Android there's at least https://github.com/keymapperorg/KeyMapper but regardless if it's popularity it didn't seem to work consistently on my device. I'd still suggest giving it a try!
-
Fwiw I'm somewhat happy combining AutoRaise for focus-follows-mouse and rectangle for tiling.
It's not as good as a dedicated tiling wm on Linux - but it's less terrible than MacOs' mouse/touchpad chauvinism.
https://github.com/sbmpost/AutoRaise
https://github.com/rxhanson/Rectangle
-
So something like this https://github.com/divvun/kbdgen?
-
Found a config that seems much cleaner than my lua mess and at a glance it has the key tiling functions[1]. Check set-window-fraction function and its callsites.
[1]: https://github.com/kbd/setup/blob/main/HOME/.hammerspoon/ini...
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives