Generate Layout
Before reflashing a layout, you need to generate your layout (keymap) first. This is similar to other keyboards which use TKG solution. Please refer to some documents of TMK and TKG for more details.
Template
You can start with a common template as follows.
http://www.keyboard-layout-editor.com/#/gists/452bab33722ade2ce4ca46955de03166
Hints:
- Use mouse to select key and use arrow keys to move key.
- Press
?
key for more helps.
Here is a exported Fn code for the above template. You can import it into TKG from "Menu > Tools > Import Fn".
"0":["ACTION_LAYER_MOMENTARY",1],"1":["ACTION_BACKLIGHT_DECREASE"],"2":["ACTION_BACKLIGHT_TOGGLE"],"3":["ACTION_BACKLIGHT_INCREASE"],"5":["ACTION_FUNCTION","2",0],"6":["ACTION_FUNCTION","7",0],"7":["ACTION_FUNCTION","7","1"],"8":["ACTION_FUNCTION","4",0],"9":["ACTION_FUNCTION","3",0],"10":["ACTION_FUNCTION","5","1"],"13":["ACTION_FUNCTION","5",0],"14":["ACTION_FUNCTION","5","4"],"15":["ACTION_FUNCTION","5","5"],"16":["ACTION_FUNCTION","5","6"],"17":["ACTION_FUNCTION","6",0],"18":["ACTION_FUNCTION","5","7"],"22":["ACTION_FUNCTION","5","10"],"24":["ACTION_FUNCTION","5","12"],"25":["ACTION_FUNCTION","6","2"],"26":["ACTION_FUNCTION","5","13"],"27":["ACTION_FUNCTION","5","14"]
Built-in function
The RGB LEDs on the bottom of Red Scarf II+ can be controller by both remote and Fn built-in function.
The following table explains the features of built-in function which used to control RGB LEDs.
Name | Option | Remote Button | Description |
---|---|---|---|
RGB On | - | Row1,Col3 | Turn LEDs on |
RGB Off | - | Row1,Col4 | Turn LEDs off |
RGB Toggle | - | N/A1 | Toggle LEDs |
RGB Increase | - | Row1,Col1 | Increase brightness (for fixed color) or speed (for variable mode) |
RGB Decrease | - | Row1,Col2 | 2Decrease brightness (for fixed color) or speed (for variable mode) |
RGB Fixed Color | White | Row2,Col4 | Change LEDs to fixed color |
Red | Row2,Col1 | ||
Green | Row2,Col2 | ||
Blue | Row2,Col3 | ||
Red_1 | Row3,Col1 | ||
Green_1 | Row3,Col2 | ||
Blue_1 | Row3,Col3 | ||
Red_2 | Row4,Col1 | ||
Green_2 | Row4,Col2 | ||
Blue_2 | Row4,Col3 | ||
Red_3 | Row5,Col1 | ||
Green_3 | Row5,Col2 | ||
Blue_3 | Row5,Col3 | ||
Red_4 | Row6,Col1 | ||
Green_4 | Row6,Col2 | ||
Blue_4 | Row6,Col3 | ||
RGB Variable Mode | Flash | Row3,Col4 | Change LEDs to variable mode |
Strobe | Row4,Col4 | ||
Fade | Row5,Col4 | ||
Smooth | Row6,Col4 | ||
RGB Step | Fixed Color | N/A1 | Step through all fixed colors |
Variable Mode | N/A1 | Step through all variable modes |
1. These features are designed for saving Fn keys, no corresponded buttons on the remote. ↩
2. Keyboard can memorize RGB LED status changed by Fn but not changed by the remote. ↩