Kinesis 360, Direct Programing of the Keyboard
Direct Programing of the Keyboard
Direct Programing means you use a text editor to create or modify the key map and key macros, or the LED color.
steps:
- mount the v-drive
- go to the v-drive, go to the folder named “layouts”
in the folder, you'll see file named like this:
- layout1.txt
- layout2.txt
- layout3.txt
- etc
each correspond to a profile.
Open the profile you want to change. Open it in a text editor. (e.g. Microsoft Notepad)
- sample layout file xah_layout2_kinesis_360_usb.txt
in the file, you'll see sections like this:
<base> [rctr]>[tab] <keypad> <function1> <function2> <function3>
<base>
→ means base layer<keypad>
→ means base layer<function1>
→ means function1 layer
For example, if you want to modify the base layer, put lines below the base line.
example of syntax
<base> [rctr]>[tab] [rwin]>[esc] [fsls]>[z] [scol]>[s] [p]>[l] [hyph]>[bsls] [bsls]>[fsls] [apos]>[hyph] [perd]>[v] [l]>[n] [o]>[r] [u]>[g] [j]>[h] [comm]>[w] [k]>[t] [i]>[c] [y]>[f] [h]>[d] [n]>[b] [home]>[lwin] [z]>[scol] [q]>[apos] [esc]>[home] [x]>[q] [s]>[o] [w]>[comm] [caps]>[F13] [r]>[p] [f]>[u] [v]>[k] [c]>[j] [d]>[e] [e]>[perd] [t]>[y] [g]>[i] [b]>[x] {hk1}>{s6}{x1}{-caxx}{tab}{+caxx} {hk2}>{s6}{x1}{-lalt}{tab}{+lalt} {hk3}>{s6}{x1}{-lctr}{-lshf}{tab}{+lshf}{+lctr} {hk4}>{s6}{x1}{-lctr}{tab}{+lctr} <keypad> <function1> <function2> <function3>
lines with square bracket, e.g.
[b]>[x]
means it's a key remap, of a single key to another single key.
lines with curly bracket, e.g.
{hk1}>{s6}{x1}{-caxx}{tab}{+caxx}
means it's a macro. both the left-hand-side and right-hand-side can be key-chord or key sequence.
the greater than sign is a separator.
- if a line has square bracket, it must be all square brackets.
- if a line has curly bracket, it must be all curly brackets.
- key with a minor sign in front means press down. e.g.
{-lctr}
- key with a plus sign in front means release. e.g.
{+lctr}
apos
→ means apostrophe key'
comm
→ means comma key,
fsls
→ means slash key/
bsls
→ means backwward slash key\
hyph
→ means minus key [-]perd
→ means period key.
scol
→ means semicolon key;
caps
→ means capslock keytab
→ means tab keyesc
→ means escape keylshf
→ means left shift keylctr
→ means left control keylwin
→ means left window keylalt
→ means left alt key
caxx
→ means control and alt
and many others. check the manual for list of all key codes.
order of the lines in each section do not matter, except if you have duplicate trigger key, then the latter takes overrides previous.
if a line has syntax error, it is ignored.