diff options
author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2020-07-04 23:04:47 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 15:04:47 +0100 |
commit | 5c8b23ccffa0083752044f0459e6ac3114ce6e52 (patch) | |
tree | e73a2f8189905754ba71ede0d42f7a46221ce93a /docs/feature_split_keyboard.md | |
parent | 13a8d1681ca89b14931b0f9246dad4a4f60705fa (diff) | |
download | qmk_firmware-5c8b23ccffa0083752044f0459e6ac3114ce6e52.tar.gz qmk_firmware-5c8b23ccffa0083752044f0459e6ac3114ce6e52.zip |
add SPLIT_HAND_MATRIX_GRID support (#8685)
Co-authored-by: Danny <nooges@users.noreply.github.com>
Diffstat (limited to 'docs/feature_split_keyboard.md')
-rw-r--r-- | docs/feature_split_keyboard.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/feature_split_keyboard.md b/docs/feature_split_keyboard.md index 63374a804..ce470b996 100644 --- a/docs/feature_split_keyboard.md +++ b/docs/feature_split_keyboard.md | |||
@@ -90,6 +90,24 @@ You can configure the firmware to read a pin on the controller to determine hand | |||
90 | 90 | ||
91 | This will read the specified pin. If it's high, then the controller assumes it is the left hand, and if it's low, it's assumed to be the right side. | 91 | This will read the specified pin. If it's high, then the controller assumes it is the left hand, and if it's low, it's assumed to be the right side. |
92 | 92 | ||
93 | #### Handedness by Matrix Pin | ||
94 | |||
95 | You can configure the firmware to read key matrix pins on the controller to determine handedness. To do this, add the following to your `config.h` file: | ||
96 | |||
97 | ```c | ||
98 | #define SPLIT_HAND_MATRIX_GRID D0, F1 | ||
99 | ``` | ||
100 | |||
101 | The first pin is the output pin and the second is the input pin. | ||
102 | |||
103 | Some keyboards have unused intersections in the key matrix. This setting uses one of these unused intersections to determine the handness. | ||
104 | |||
105 | Normally, when a diode is connected to an intersection, it is judged to be left. If you add the following definition, it will be judged to be right. | ||
106 | |||
107 | ```c | ||
108 | #define SPLIT_HAND_MATRIX_GRID_LOW_IS_RIGHT | ||
109 | ``` | ||
110 | |||
93 | #### Handedness by EEPROM | 111 | #### Handedness by EEPROM |
94 | 112 | ||
95 | This method sets the keyboard's handedness by setting a flag in the persistent storage (`EEPROM`). This is checked when the controller first starts up, and determines what half the keyboard is, and how to orient the keyboard layout. | 113 | This method sets the keyboard's handedness by setting a flag in the persistent storage (`EEPROM`). This is checked when the controller first starts up, and determines what half the keyboard is, and how to orient the keyboard layout. |