diff options
author | roggan87 <robertrosman@gmx.com> | 2019-06-13 20:47:31 +0200 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-06-13 11:47:31 -0700 |
commit | 1cd26607bd4bd5bd718e5c1e2e3884fbcdf50f5d (patch) | |
tree | 319906a25c658ab577459df7a66bffaca8fac48a /keyboards/handwired/dactyl/config.h | |
parent | 03ce37052f16bd5fca00e3196a8e22ae1acee9bd (diff) |
[Keyboard] Made it possible for real to choose register on io expander for cols and rows (#6124)
* Replace deprecated EXPANDER_MASK with dynamic expander_pin_input_mask
* Made it possible to switch rows and cols registers on expander
Diffstat (limited to 'keyboards/handwired/dactyl/config.h')
-rw-r--r-- | keyboards/handwired/dactyl/config.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/handwired/dactyl/config.h b/keyboards/handwired/dactyl/config.h index 8d42c0ae47..49524c2097 100644 --- a/keyboards/handwired/dactyl/config.h +++ b/keyboards/handwired/dactyl/config.h @@ -36,7 +36,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define COL_EXPANDED { true, true, true, true, true, true, false, false, false, false, false, false} #define MATRIX_ONBOARD_ROW_PINS { F0, F1, F4, F5, F6, F7 } #define MATRIX_ONBOARD_COL_PINS { 0, 0, 0, 0, 0, 0, B1, B2, B3, D2, D3, C6 } -#define EXPANDER_COL_REGISTER 0 +#define EXPANDER_COL_REGISTER GPIOA +#define EXPANDER_ROW_REGISTER GPIOB #define MATRIX_EXPANDER_COL_PINS {0, 1, 2, 3, 4, 5} #define MATRIX_EXPANDER_ROW_PINS {0, 1, 2, 3, 4, 5} |