this post was submitted on 08 Feb 2025
40 points (100.0% liked)

Programming

18127 readers
466 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Macro keyboards are mini programmable USB keyboards that can be pressed to trigger shortcuts, a sequence of keypresses etc. They can have several layers so switching to a different one will trigger different keypresses from the same key, so e.g. different IDEs can be represented.

I've just bought one with a view to setting up shortcuts for debugging. Each IDE has its own unique keys for navigating through the code, so I figure it'll be nice to just press one key to start debugging and one key to step into instead of a combination of ctrl+whatever etc

Do you use one? If so, what do you use it for and what size do you use? Is it too big / too small?

you are viewing a single comment's thread
view the rest of the comments
[–] tankplanker@lemmy.world 2 points 1 day ago (1 children)

Do you mean keys thst you hold down with your thumb while your fingers are on the home row or something else? For the former, I use split space keyboards and map the left one to enter on press, layer on hold, the right one to space on press, and a different layer on hold. That gives me more keys that you would get on a 70+ keyboard. I find this considerably easier than trying to use pinkies on shift and symbols on what is my top row, qwerty row.

Typically, I map tab and the traditional enter key to tab on press, another layer, and backspace with the same layer as tab. This layer I use for window management in sway for home row and anything else I am missing that I really want.

[–] hddsx@lemmy.ca 2 points 23 hours ago (1 children)

Is this QMK? My keyboard is ZMK I believe

[–] tankplanker@lemmy.world 2 points 23 hours ago (1 children)

ZMK also has a layer tap key that would suit for this, normal key press of your choosing and layer activation while holding: https://zmk.dev/docs/keymaps/behaviors

[–] hddsx@lemmy.ca 1 points 22 hours ago (1 children)

Alright I’ll have to give this a try. If it works (I’m already thinking about it) I’m going to make a custom keyboard.

What I’m worried about is I want to go full Bluetooth, but I need the layer tap key to affect both sides

[–] tankplanker@lemmy.world 1 points 22 hours ago (1 children)

From scratch? Or a kit?

I've never tried a wireless keyboard (despiteowningmore than 50), still waiting on my Pearl three years after I ordered it lol, that would have been my first.

All my splits are cabled, so it's no issue for me.

Another option is home row layer keys, duplicating the layer options in pairs so a and h, s and j, and so on so you have the same layer from each side.

Smaller boards I use home row mods (control, super, and so on), and that works extremely well for me.

[–] hddsx@lemmy.ca 2 points 22 hours ago (1 children)

Scratch probably. My friend helped me realize that the circuit is real easy. the most daunting for me is the case

[–] tankplanker@lemmy.world 1 points 22 hours ago

Nice, it does look a fun project though!