background image

 4 

4.0 Direct Programming Layouts 

The Edge features 9 configurable Profiles, each with its own corresponding 
“layout” (1-9). The nine default layouts are saved as separate .txt files in the 
“layouts” subfolder on the v-Drive. Only custom remaps and macros are saved 
to the file, so if no changes have been made to a layout, the file will be empty 
and the keyboard performs “default” actions. Users can either write code from 
scratch or edit existing code using the syntax rules described below. 

Note: 

Deleting a layout file will permanently delete its stored remaps & macros, but 
the keyboard will automatically regenerate a blank layout file. 

4.1 File Naming Convention 

Only the nine numbered layouts can be loaded to the Freestyle Edge RGB. 
Additional “backup” layouts can be saved as .txt files with descriptive names, 
but they cannot be loaded to the keyboard without renaming them first. 

4.2 Syntax Overview– Position & Action Tokens 

Remaps and macros are encoded in a layout file using a proprietary syntax. Each of the 95 full-size keys on 
the keyboard has been assigned a unique “Position” token used to identify that key for programming in either 
layer (see Position Token Map in Section 4.5).  

Each keyboard & mouse action supported by the Edge has been assigned a unique “Action” token 
corresponding to a standard USB “scan code”. (see Action Token Dictionary in Section 4.9). 

To successfully re-program a key, the user must use the syntax to designate the physical key (via a Position 
Token) and assign one or more key actions (via Action Tokens). The “>“ symbol is used to separate Position 
Tokens from Actions Tokens. Each individual token is surrounded by brackets. Examples: 

• 

Remaps are encoded with Square Brackets: [position]>[action] 

• 

Macros are encoded with Curly Brackets: {trigger key position}{modifier co-trigger}>{action1}{action2}... 

4.3 Layout Programming Tips 

• 

If the keyboard cannot understand the desired remap, then the default action will remain in effect. 

• 

Do not mix and match square and curly brackets in a single line of code 

• 

Separate each line of code with Enter/Return 

• 

The order in which the lines of code appears in the .txt file does not generally matter, except in the event 
of conflicting commands, in which case the command closest to the bottom of the file will be implemented. 

• 

Tokens are not case-sensitive. Capitalizing a token will not produce the “shifted” action. 

• 

A line of code can be temporarily disabled by placing an asterisk (*) at the beginning of the line.

 

4.4 Position Tokens 

Generally speaking, position tokens are defined by the basic QWERTY Windows action for the key in the 
default layout. In some cases tokens have been modified for clarity and/or ease of programming. Each 
physical key has two tokens, one for the top layer action and one for virtual embedded layer action. To 
designate a key position in the Fn layer, you simply encode the prefix “fn“ (with a space) before the basic, top-
layer token, and outside of the brackets.  

• 

Example: The embedded Hotkey 1 position is:    

 

 

 

fn [hk1]>... 

However, there are 8 keys which have wholly unique Fn layer token which corresponds to the embedded 
layer action for that key position (see red tokens on the Position Token Map in Section 4.5).  

Summary of Contents for Freestyle Edge KB975 Series

Page 1: ...1 KB975 Direct Programming Guide ...

Page 2: ...io Frequency Interference Statement This equipment has been tested and found to comply with the limits for a Class B digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a residential installation This equipment generates uses and can radiate radio frequency energy and if not in...

Page 3: ...nsertion of incorrect characters into any of the configuration files can have unintended consequences and could cause temporary problems with even basic keyboard operation Read the Quick Start Guide and User Manual first and proceed with caution 3 2 Always Eject the v Drive before disconnecting the v Drive The v Drive is just like any other flash drive you connect to your PC If you remove it sudde...

Page 4: ...n one or more key actions via Action Tokens The symbol is used to separate Position Tokens from Actions Tokens Each individual token is surrounded by brackets Examples Remaps are encoded with Square Brackets position action Macros are encoded with Curly Brackets trigger key position modifier co trigger action1 action2 4 3 Layout Programming Tips If the keyboard cannot understand the desired remap ...

Page 5: ...5 4 5 Position Token Map HYPH ...

Page 6: ...d for improved playback performance for a given macro you can use the Individual Playback Speed prefix s_ Choose a number from 1 9 corresponding to the speed scale shown Section 4 6 The speed prefix should be placed to the right of the before the macro content See example 2 below Multiplay Prefix x_ By default all macros playback continuously while the trigger key is held To override the repeat fe...

Page 7: ...ck Slash OBRK CBRK PER COM APOS TILDE Hyphen HYPH Colon COLON Enter Tab Space Delete Backspace Home End Page Up ENT TAB SPC DEL BSPC HOME END PUP Page Down PDN LeŌ Arrow Right Arrow Up Arrow Down Arrow Escape Print Screen Pause Scroll Lock Insert LFT RGHT UP DWN ESC PRNT PAUSE SCRLK INS Num Lock Keypad 1 Keypad 2 Keypad 3 Keypad 4 Keypad 5 Keypad 6 Keypad 7 Keypad 8 NUMLK KP1 KP2 KP3 KP4 KP5 KP6 K...

Page 8: ...eed Reactive reactive Color Speed Starlight star Color Speed Rebound rebound Color Direction Speed Loop loop Color Speed Direction Pulse pulse Speed Rain rain Color Speed Fireball fireball Color Speed Lighting Expansion Pack 2 Ripple ripple Color Speed Lighting Expansion Pack 2 Pitch Black black 5 3 Parameters Color Defined by inputting a 3 digit value 0 255 for each of the Red Green and Blue chan...

Page 9: ...wo tone effect Note Monochrome effect must be written on line 2 Example Set Reactive Effect to Green at Speed 1 with a Base Color of Red reactive 0 255 0 spd1 mono 255 0 0 5 6 NEW Fn Layer Lighting Color Firmware update may be required Lighting Expansion Pack 1 allows users to assign a unique secondary lighting effect that is activated whenever the Fn layer is accessed Program the Fn layer effect ...

Page 10: ...d which Profile or layout to load Led_mode Designate the active Lighting Effect when Profile Sync Mode is disabled macro_speed Change the Global Macro Speed with 1 9 for speed or 0 to disable default 5 game_mode Disable Game Mode with OFF or enable with ON nkro_mode Disable NKRO Mode with OFF or enable with ON status_play_speed Change the Status Report Playback speed see Section 4 13 with 1 4 for ...

Reviews: