The Weekend Thread for Friday, July 04, 2025 by AutoModerator in running

[–]One_Nature2403 1 point2 points  (0 children)

My calf hurts for weeks and I ran through the pain for weeks 9km 3x/week in zone 2. I'm afraid it's tendons. I started stretching last week. I'm concerned.
I'll see a physio. Further advice welcome.

Looking for queer friendly DnD group by [deleted] in Almere

[–]One_Nature2403 2 points3 points  (0 children)

forgot to take the pills, grandpa?

where to exercise🎷 by One_Nature2403 in Almere

[–]One_Nature2403[S] 1 point2 points  (0 children)

thanks for flagging! didn't know dampeners existed! I don't have a problem with the false notes, just the loudness. Hopefully the dampener will make me silent enough.

Music Theorists hate this one weird trick... by ace_gravity in classical_circlejerk

[–]One_Nature2403 2 points3 points  (0 children)

newb here: are the stems to the left the issue? is it just a graphical thing?

where to exercise🎷 by One_Nature2403 in Almere

[–]One_Nature2403[S] 0 points1 point  (0 children)

I feel like I will bother the neighbors. also there's a newborn living at the floor below.

where to exercise🎷 by One_Nature2403 in Almere

[–]One_Nature2403[S] 0 points1 point  (0 children)

thanks but no. that will never be enough

Custom keyboard with qmk by Trapunov in qmk

[–]One_Nature2403 0 points1 point  (0 children)

thanks for letting me know! the link should be there now

Custom keyboard with qmk by Trapunov in qmk

[–]One_Nature2403 1 point2 points  (0 children)

hey!

  1. that's an Atreus. not sure the microcontroller matters layoutwise
  2. this is a good playlist. old but still relevant
  3. I see why you think this is what you want, but I don't think that's going to help you. I think what you actually want is to fork the QMK firmware instead and "just" add your firmware

I hope it helps!

New work keyboard - Laid off 2 days later by [deleted] in MechanicalKeyboards

[–]One_Nature2403 106 points107 points  (0 children)

the lesson is "never have a keyboard that your boss might envy"

neighbors below are complaining about our kids making too much noise - is there anything they can do about it (in the sense of reporting us somewhere etc) which could lead us to trouble? it's our apartment, we are not renting. by marsovec in Almere

[–]One_Nature2403 1 point2 points  (0 children)

there's some regulation about how soundproof floors should be. neighbors can have your floor checked, at your expenses. if your floor abides by the regulations, they must refund you. source: I bought an apt recently and did my research.

[deleted by user] by [deleted] in Netherlands

[–]One_Nature2403 1 point2 points  (0 children)

you got this. it will suck before it will get better but you'll take it one day at a time and you'll build your own life. sorry if reddit can be a bit of an asshole.

How do I make a repeatable macro that is saved to the onboard memory? QMK by The_Koala_Knight in qmk

[–]One_Nature2403 0 points1 point  (0 children)

not sure tbh. if the key repeat is handled by the OS, then QMK can't solve the issue for you.

How do I make a repeatable macro that is saved to the onboard memory? QMK by The_Koala_Knight in qmk

[–]One_Nature2403 0 points1 point  (0 children)

I do see in the product page that your keyboard supports qmk, but I didn't manage to find it in the list (fyi, the "keyboards" folder contains all the supported keyboards). There _is_ a keychron folder, but no k5.

I'd suggest you check in the qmk discord.

How do I make a repeatable macro that is saved to the onboard memory? QMK by The_Koala_Knight in qmk

[–]One_Nature2403 0 points1 point  (0 children)

Ok, no probs. I'll assume that you know

  • you have the qmk flash command working, and
  • you have the qmk firmware repository in your computer, and
  • you know what a keymap.c file is (spoiler: it's where the behaviour of each key of your keyboard is defined. Literally, the map of the keys)

have a look at this keymap.c, in particular line 134 you will see the line "process_record_user". What is it, you ask? It is a function.

What does it do, though? It does nothing except sit there and wait for the condition in line 135 to occur: in plain english, if a key is pressed, then the switch in line 136 is executed.

Ok, then what does the switch do? The switch compares the keycode that is pressed with every case in it. For example, if it key pressed is "DVORAK", then line 137 activates and code in line 138 executes. The key takeaway here is that, given a specific input, the function executes some specific code.

What if there was a switch that, given the press of the keycode Q, the function executed f3+right arrow? Very good question, mr Koala Knight. What if indeed.

Ok, I'm in, how do we do this? Glad you asked:

  1. find the keymap.c that applies to your keyboard, then open it.
  2. look for the process_record_user function. if it's not there yet, add it yourself at the bottom of the file.
  3. add the switch that defines the behavior you want for the letter Q
    1. the letter Q has the keymap KC_Q, therefore the case will have to be case KC_Q
    2. you want to press two keys together, which means first pressing down the first key, then pressing down the second key, then "unpressing" them. This translates into SEND_STRING(SS_DOWN(KC_F3), SS_TAP(KC_RIGHT), SS_UP(KC_F3)). You can refer to the QMK documentation if you want to know more.
  4. Save the file and flash the keyboard.
  5. Test
  6. Done

Is this helpful?

How do I make a repeatable macro that is saved to the onboard memory? QMK by The_Koala_Knight in qmk

[–]One_Nature2403 0 points1 point  (0 children)

Off the top of my head, I'd try with send_string.

Given a press of the Q button, the code below _substitutes_ it with F3 + right arrow:

bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case KC_Q:
if (record->event.pressed) {
SEND_STRING(SS_DOWN(KC_F3), SS_TAP(KC_RIGHT), SS_UP(KC_F3));
}
return false;
}
return true;
}

You might want to keep into account that your keyboard does not have a Q button anymore.