# You can change functional key by specifying it in the `config.json` file
```
{
  "keys": {           <- don't change
    "follow": [       <- feature name, don't change
      [               <- combination start
        "LeftAlt"     <- keystroke
      ],              <- combination end, and a separator to another combination
      [               <- same as above
        "RightAlt"    <- same as above
      ]               <- same as above
    ]
  }
}
```

## Example

```
{
  "keys": {
    "featureName": [
      [
        "key1",
        "key2"
      ],
      [
        "key3",
        "key4",
        "key5"
      ],
      [
        "key6"
      ]
    ]
  }
}
```
### Explanation:  
Regard it as  
```
    if(key1 && key2 ... keyN) doSomething()  
    else if([another set of keys]) doSomething()  
    ...
```
statements.  

For this example, you will make "featureName" function when:
* You are holding key1 **and** key2  
  **or**  
* You are holding key3 **and** key4 **and** key5  
  **or**  
* You are holding key6  


As long as 1 of the 3 key combinations happens, 
"featureName" will take effect. 


# Additional notes

* follow:  
  The native logic to move your party is wrapped inside a left click event,  
  so you can't make it something like "right click to follow a troop".  
  **Left click is always taken into account.**  
* reloadConfig  
  A shortcut to reload the config file for mitigating hotkey conflicts without restart the game.  
* logLevel:
  "none", "error", "all"

# All available keys in mnb2

* Invalid
* Escape
* D1
* D2
* D3
* D4
* D5
* D6
* D7
* D8
* D9
* D0
* Minus
* Equals
* BackSpace
* Tab
* Q
* W
* E
* R
* T
* Y
* U
* I
* O
* P
* OpenBraces
* CloseBraces
* Enter
* LeftControl
* A
* S
* D
* F
* G
* H
* J
* K
* L
* SemiColon
* Apostrophe
* Tilde
* LeftShift
* BackSlash
* Z
* X
* C
* V
* B
* N
* M
* Comma
* Period
* Slash
* RightShift
* NumpadMultiply
* LeftAlt
* Space
* CapsLock
* F1
* F2
* F3
* F4
* F5
* F6
* F7
* F8
* F9
* F10
* Numpad7
* Numpad8
* Numpad9
* NumpadMinus
* Numpad4
* Numpad5
* Numpad6
* NumpadPlus
* Numpad1
* Numpad2
* Numpad3
* Numpad0
* NumpadPeriod
* Extended
* F11
* F12
* NumpadEnter
* RightControl
* NumpadSlash
* RightAlt
* NumLock
* Home
* Up
* PageUp
* Left
* Right
* End
* Down
* PageDown
* Insert
* Delete
* ControllerLStick
* ControllerRStick
* LeftMouseButton
* RightMouseButton
* MiddleMouseButton
* X1MouseButton
* X2MouseButton
* MouseScrollUp
* MouseScrollDown
* ControllerLStickUp
* ControllerLStickDown
* ControllerLStickLeft
* ControllerLStickRight
* ControllerRStickUp
* ControllerRStickDown
* ControllerRStickLeft
* ControllerRStickRight
* ControllerLUp
* ControllerLDown
* ControllerLLeft
* ControllerLRight
* ControllerRUp
* ControllerRDown
* ControllerRLeft
* ControllerRRight
* ControllerLBumper
* ControllerRBumper
* ControllerLOption
* ControllerROption
* ControllerLThumb
* ControllerRThumb
* ControllerLTrigger
* ControllerRTrigger