diff options
author | Cameron Varley <cam.avarley@gmail.com> | 2023-04-02 04:34:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-02 01:34:54 -0700 |
commit | b53356f7ab051c7ef208e8cd2927b7671e731db8 (patch) | |
tree | 12785ba2ccf3cea5a0282cc1569abe9986b1a1d3 /keyboards/gmmk/numpad/halconf.h | |
parent | c402bac023b7cc71fb4d72de9bed997c076badd3 (diff) |
[Keyboard] Add GMMK Numpad (#20067)
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/gmmk/numpad/halconf.h')
-rw-r--r-- | keyboards/gmmk/numpad/halconf.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/gmmk/numpad/halconf.h b/keyboards/gmmk/numpad/halconf.h new file mode 100644 index 0000000000..b6b68a4e63 --- /dev/null +++ b/keyboards/gmmk/numpad/halconf.h @@ -0,0 +1,26 @@ +/* Copyright 2021 Glorious, LLC <salman@pcgamingrace.com> + * Modified 2022 by rustedaperture for qmk_firmware + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#define HAL_USE_SPI TRUE +#define SPI_USE_WAIT TRUE +#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD +#define HAL_USE_ADC TRUE + + +#include_next <halconf.h>
\ No newline at end of file |