The few lines of code.. can someone just walk me trough what it is I am looking at?
r3 = Region 3 (This I get)Code:r3
k(69.0.0):hs(form.diamond)
k(87.0.0):hs(form.stack)
k?
69.0.0 ?
:hs ?
Any explanations or documentation on this?
Thanks!
Printable View
The few lines of code.. can someone just walk me trough what it is I am looking at?
r3 = Region 3 (This I get)Code:r3
k(69.0.0):hs(form.diamond)
k(87.0.0):hs(form.stack)
k?
69.0.0 ?
:hs ?
Any explanations or documentation on this?
Thanks!
I hope I get this right.. :p
r3 - this is just the name. You could call it OMGWTFBBQ, it would still work, as long as you associated the file with region 3 in the Keyclone maximiser settings.
k(69.0.0) - This means the E key
:hs(form.diamond) - this means that the E key is associated with the string "form.diamond"
What that means is: when region 3 is focused and the E key is pressed, then whatever key is associated with the string "form.diamond" for region 1 is sent to that region. (The r3 keymap file gives it the E <-> "form.diamond" link. The r1 keymap file takes it the rest of the way for that region.)
Similarly, the "form.diamond" keys for each other region are sent to those regions.
In that way, the E is mapped via "form.diamond" to a different keypress sent to each region.
eg focus region 3 and press E
E <-> "form.diamond" (in r3 keymap file)
"form.diamond" <-> COMMA (in r1 keymap file)
So E is sent to r3 and COMMA to r1.
Conversely if COMMA is pressed with r1 focused then E is sent to r3 (this is the intended useage for this particular set of keymaps)
So the user is expected to unbind COMMA in all wow clients. Now, with the main region focussed, pressing COMMA makes the toon in r3 strafe right (ie COMMA -> form.diamond -> E when sending from r1 -> r3). The other regions are sent different keystrokes in order to send those toons in different directions, and the main toon remains at the centre of the diamond (he doesn't move because COMMA has been unbound).
By using the keymap editor, it is easier to tell that k(69.0.0) means E. You only see the numbers if you edit the keymap file directly (using notepad or a text editor). The keymap editor is not polished but it helps a lot.
It is possible to map keys like this between regions by associating each region with a different keymap file.
You can also do it between 'Commands' (think 'Clients') with the options available in the command editor section.
The distinction becomes apparent when you swap clients from one region to another.
If you wrap your head around this enough to be comfortable with it, have a look at the FTL system, but only if you don't mind spending a lot of time setting things up (and getting a headache) ;)
I see.. It's starting to clear up now.
But I just can't seem to get the keymap editor working.
How do I actual change the values there? The 69.0.0 values?
I seem only to be able to change the key >>hotstrings.. I can map it, but can't change any values.
I seem to be missing some fundamental thing here--
http://www.coupas.be/pics/keymap.JPG
This is how it looks in the keymap editor..
I would like to thank you for your patience.
I finally got it.
It was much much easier then I thought hehe.. That was probably the problem!
Thanks again! It's crystal clear now.
Ah. haha, while I was heavily editing my post I completely missed your 3 replies below >.<
TBH I never understood anyone else's explanation (plenty have tried) so I had to work it out by myself.
I'm slightly surprised I managed to help. Glad you got it sorted!