1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/redox_media
Ryan 5629ba1807
Remove legacy keycodes, part 4 (#18683)
* `KC_PGDOWN` -> `KC_PGDN`

* `KC_PSCREEN` -> `KC_PSCR`

* `KC_SCOLON` -> `KC_SCLN`

* `KC_BSLASH` -> `KC_BSLS`

* `KC_BSPACE` -> `KC_BSPC`
2022-10-13 18:28:14 +01:00
..
keymaps/default Remove legacy keycodes, part 4 (#18683) 2022-10-13 18:28:14 +01:00
config.h Move keyboard USB IDs and strings to data driven: R (#17885) 2022-08-04 08:05:40 +10:00
info.json Move keyboard USB IDs and strings to data driven: R (#17885) 2022-08-04 08:05:40 +10:00
readme.md
redox_media.c
redox_media.h
rules.mk

The Redox Media Keyboard

I've taken the Redox keyboard and modified the SCAD files as well as the QMK layout to include media and scroll features:

  • 3 Media buttons
    • Play / Pause button
    • Next track
    • Mute (previous track on secondary layout)
  • Volume knob
  • Scroll wheel on the keyboard

For an in-depth report see my page and a video about the build process, design, printing, programing and assembly.

IMAGE

The build

I've used 2 Sparkfun Pro Micros (5V) and a single hand master setup providing power and serial connection via a TRS jack.

The pro micro and how to flash it

To try out your pro micro and setup your environment to flash such a device I recommend following this guide. It will take you through the install and setup and provides a first easy to flash program so you can test your setup quickly.

Whenever you can't program one of the pro micros or the USB-COM port is not found on your computer, it most probably means that is is not in "bootloader mode". What you want to do is connect the GND and RST pin twice to reset the device and put it into bootloader mode (details here).

Compiling and flashing

Obviously start by installing QMK.

  • Before flashing the firmware you should make sure that it compiles. Thus assuring that your QMK setup works fine and the keyboard and keymap files are correct:
qmk compile -kb redox_media -km default

The generated .hex file is output to the QMK root.

Once you are comfortable flashing your Pro Micros and your setup works continue with the following steps:

  • I've had the most success with using the EE_HANDS setting and flashing the EEPROM to the left and right halves of the keyboard respectively. To do this start with flashing the EEPROM of the 2 pro micros separately by setting the bootloader flag in the flash command (the pro micro uses the avrdude bootloader):
qmk flash -kb redox/media -km media_ch -bl avrdude-split-left
qmk flash -kb redox/media -km media_ch -bl avrdude-split-right

Note that you need to reset the pro micro to set it to bootloader mode before you can flash it: connect GND to RST twice in quick succession (750ms), then you have 8 seconds to upload the new eep file.

Adapting the keyboard layout

Copy the keymaps/media_ch folder to keymaps/media_<your-layout> and adapt the keymap.c file in there.

I recommend testing the key codes with the QMK tester and then adapting the keymap.c file accordingly.

Finally compile your new layout from the QMK root with:

qmk compile -kb redox/media -km media_<your-layout>

and proceed to flashing it equivalent to the above instructions.

CAD files and additional resources

See here for a detailed build description and video.

You can find the CAD and SCAD files, I created here: https://github.com/shiftux/redox-media-keyboard