diff options
author | Controller Works <[email protected]> | 2023-08-22 12:12:51 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2023-08-22 10:12:51 -0600 |
commit | 1236c29b124f6582f46b3321fe81e8247d2caf5d (patch) | |
tree | 1c822aad68687369c4e485028300da33e515b849 /keyboards/controllerworks/city42/config.h | |
parent | eed34f7a2448b903d406167aacf679ddc4f9398f (diff) | |
download | qmk_firmware-1236c29b124f6582f46b3321fe81e8247d2caf5d.tar.gz qmk_firmware-1236c29b124f6582f46b3321fe81e8247d2caf5d.zip |
[Keyboard] Add city42 (#21727)
Co-authored-by: Joel Challis <[email protected]>
Co-authored-by: Duncan Sutherland <[email protected]>
Diffstat (limited to 'keyboards/controllerworks/city42/config.h')
-rw-r--r-- | keyboards/controllerworks/city42/config.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/keyboards/controllerworks/city42/config.h b/keyboards/controllerworks/city42/config.h new file mode 100644 index 0000000000..4e161532f2 --- /dev/null +++ b/keyboards/controllerworks/city42/config.h @@ -0,0 +1,32 @@ +/* + * Copyright 2023 Kevin Gee <[email protected]> + * + * 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 WS2812_PIO_USE_PIO1 +#define RGB_MATRIX_LED_COUNT 42 + +#define SPI_SCK_PIN GP18 +#define SPI_MOSI_PIN GP19 +#define SPI_MISO_PIN GP16 +#define POINTING_DEVICE_CS_PIN GP17 + +#define CIRQUE_PINNACLE_DIAMETER_MM 40 +#define CIRQUE_PINNACLE_ATTENUATION EXTREG__TRACK_ADCCONFIG__ADC_ATTENUATE_1X +#define CIRQUE_PINNACLE_POSITION_MODE CIRQUE_PINNACLE_RELATIVE_MODE +#define CIRQUE_PINNACLE_TAP_ENABLE +#define CIRQUE_PINNACLE_SECONDARY_TAP_ENABLE
\ No newline at end of file |