]> git.donarmstrong.com Git - kiibohd-controller.git/blob - Scan/MatrixARM/capabilities.kll
8221ec8f2d6e2ad7f11e2f73f8204b457099bd80
[kiibohd-controller.git] / Scan / MatrixARM / capabilities.kll
1 Name = MatrixArmCapabilities;
2 Version = 0.1;
3 Author = "HaaTa (Jacob Alexander) 2015";
4 KLL = 0.3a;
5
6 # Modified Date
7 Date = 2015-02-28;
8
9 # Defines available to the MatrixArm sub-module
10 # This debounce scheme uses a rolling counter for press/unpress on each key
11 # Each counter is incremented if pressed/unpressed and the opposite counter is divided by 2
12 # Using the default division threshold (0xFFFF), there are approximately 13 cycles in a perfect cycle
13 # If debounce is actually necessary, this will increase (better switches will debounce faster)
14 #
15 # The maximum threshold is 0xFFFFFFFF, which will give around ~32 -> 36 cycles per perfect cycle
16 # Using a threshold higher than 0xFFFF will require 32 bit variables, and double the ram usage.
17 DebounceDivThreshold => DebounceDivThreshold_define;
18 DebounceDivThreshold = 0xFFFF; # Default debounce
19 #DebounceDivThreshold = 0xFFFFFFFF; # Max debounce
20
21 # This defines how often the matrix is scanned
22 # By, default the key matrix is scanned once per macro processing loop
23 # For fast uCs and bouncy switches, this can be non-ideal
24 # 0 - Bit-shift of 0
25 # 1 - Bit-shift of 1 (i.e. divide by 2)
26 # 2 - Bit-shift of 2 (i.e. divide by 4)
27 # 3 - Bit-shift of 3 (i.e. divide by 8)
28 # etc.
29 # Depending on the architecture, this is either a maximum of 16 or 32
30 # Increasing this value will increase switch latency
31 DebounceThrottleDiv => DebounceThrottleDiv_define;
32 DebounceThrottleDiv = 0; # Default
33 #DebounceThrottleDiv = 2; # /4 divider
34