r/backtickbot • • Mar 16 '21

https://np.reddit.com/r/MechanicalKeyboards/comments/kqngae/bigknob_macropad_rotary_encoder_4_switches_with/gr2tak5/

I actually was able to figure out how to flash it with settings for the rotary encoder, I guess you just can't do it via the GUI tools like the Windows GUI application or that web form, but the raw C code for the default keymap for example has a section as follows:

    void encoder_update_user(uint8_t index, bool clockwise) {
      if (index == 0) { 
        if (clockwise) {
          tap_code(KC_VOLU);
        } else {
          tap_code(KC_VOLD);
        }
      } 
    }

So, it was easy enough for me to build a .hex file with that set to different keycodes! I just had to do so via the CLI tools. Unfortunately I then ran into mysterious problems getting flashing to actually work, so ironically I compiled on Linux using the CLI qmk command, then rebooted into Windows and used the QMK GUI app to flash the .hex file I'd generated.

5 Upvotes

0 comments sorted by