qmk_firmware/keyboards/mxss
Takeshi ISHII f3afc716cb
fix keyboards/mxss/rgblight.h ()
Since  caused a build error for `mxss:default`, I made similar changes to 'keyboards/mxss/rgblight.h' as  did to 'quantum/rgblight.h'.

**This commit does not change the build result.**

Testing script
```shell
 # build on versions earlier than PR 
 git checkout 0.8.24
 echo master > /tmp/master_md5.txt

 make mxss:default:clean
 make mxss:default
 md5 mxss_default.hex >> /tmp/master_md5.txt

 # build on this commit
 git checkout fix-keyboards-mxss-rgblight.h
 echo fix-keyboards-mxss-rgblight.h > /tmp/branch_md5.txt

 make mxss:default:clean
 make mxss:default
 md5 mxss_default.hex >> /tmp/branch_md5.txt

 diff -u /tmp/master_md5.txt /tmp/branch_md5.txt
```

Test result:
```
--- /tmp/master_md5.txt 2020-03-12 05:51:39.000000000 +0900
+++ /tmp/branch_md5.txt 2020-03-12 05:51:49.000000000 +0900
@@ -1,2 +1,2 @@
-master
+fix-keyboards-mxss-rgblight.h
MD5 (mxss_default.hex) = 3034b2504d0c7fc6bd8bf1dffb6b8486
```
2020-03-11 21:23:31 +00:00
..
keymaps Add VIA support to MxSS, plus minor tweaks () 2020-01-26 17:06:56 -05:00
templates Add VIA support to MxSS, plus minor tweaks () 2020-01-26 17:06:56 -05:00
config.h Add VIA support to MxSS, plus minor tweaks () 2020-01-26 17:06:56 -05:00
info.json
mxss.c Add VIA support to MxSS, plus minor tweaks () 2020-01-26 17:06:56 -05:00
mxss.h Add VIA support to MxSS, plus minor tweaks () 2020-01-26 17:06:56 -05:00
mxss_frontled.c MxSS RGB Handler Touchup () 2020-02-18 14:05:22 +11:00
mxss_frontled.h Add VIA support to MxSS, plus minor tweaks () 2020-01-26 17:06:56 -05:00
readme.md Add VIA support to MxSS, plus minor tweaks () 2020-01-26 17:06:56 -05:00
rgblight.c MxSS RGB Handler Touchup () 2020-02-18 14:05:22 +11:00
rgblight.h fix keyboards/mxss/rgblight.h () 2020-03-11 21:23:31 +00:00
rules.mk Remove filesize changes from default-ish rules.mk files, sans handwired () 2020-01-30 13:47:48 -05:00

MxSS - Polycarb 65% Kit for MX/SMK

MxSS - Polycarb 65% Kit for MX/SMK

Important Note:

This PCB supports the VIA configurator, and this is the recommended way to configure the keymap on this keyboard. Building the firmware should only be necessary if you would like to change the colours of the front LEDs in indicator mode.

For more information about the VIA configurator, see here.

Information:

  • Case: Frosted Polycarbonate, CNC milled
  • Plate: Brass, mirror-finished and electroplated
  • Weight: Same as plate
  • PCB: Custom designed for the MxSS by kawasaki161, White solder mask and ENIG finish

Details:

  • 2.9 degrees angle on the case
  • Top mount plate
  • Center USB, Type-B Mini
  • MX and SMK (White and Orange) switch support
  • Holtite support
  • RGB underglow
  • 1.5kg with plate and weight

Keyboard Maintainer: MxBlue

Hardware Supported: Custom PCB, ATMega32u4

Hardware Availability: https://geekhack.org/index.php?topic=94986.0

Make example for this keyboard (after setting up your build environment):

make mxss:default

See build environment setup then the make instructions for more information.

Front LED Operation

The MxSS PCB has 2 front RGB LEDs which has a separate brightness and mode of operation to the rest of the RGB LEDs. These are controlled through the supplied custom keycodes.

There are 3 modes of operation:

  • FLED_OFF - Front LEDs stay off
  • FLED_RGB - Front LEDs are part of the standard RGB LED modes, only works correctly with rainbow modes (will fix on request)
  • FLED_INDI - Top front LED represents Caps Lock status, bottom LED represents current layer

Colors for FLED_INDI mode are hardcoded as hue/saturation values, the caps lock color can be found in mxss_frontled.h, the layer colors are defined in keymap.c (see default/keymap.c for example).

Custom Keycodes

  • FLED_MOD - Cycle between the 3 modes (FLED_OFF -> FLED_RGB -> FLED_INDI)
  • FLED_VAI - Increase front LED brightness
  • FLED_VAD - Decrease front LED brightness

Further Notes

As SAFE_RANGE is used for defining the custom keycodes seen above, please use NEW_SAFE_RANGE as the starting value for any custom keycodes in keymap.c, as per the example.