diff options
| author | Pete Johanson <peter@peterjohanson.com> | 2020-06-24 10:46:02 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-24 10:46:02 -0400 | 
| commit | b1cab32c66d19d453b89fcec6f4211367e45827a (patch) | |
| tree | 845ebf91d038c080a076f46eb8e38061603ad29f /app/boards/shields/clueboard_california/clueboard_california.overlay | |
| parent | 23931aa4fede2d81437a01e5d69329157219c2a5 (diff) | |
| parent | a6a364725d8af94c2479939f6559584721a8ebd1 (diff) | |
Merge pull request #40 from petejohanson/boards/clueboard-california-macropad
Initial working Clueboard California Macropad w/ proton-c fixes
Diffstat (limited to 'app/boards/shields/clueboard_california/clueboard_california.overlay')
| -rw-r--r-- | app/boards/shields/clueboard_california/clueboard_california.overlay | 34 | 
1 files changed, 34 insertions, 0 deletions
diff --git a/app/boards/shields/clueboard_california/clueboard_california.overlay b/app/boards/shields/clueboard_california/clueboard_california.overlay new file mode 100644 index 0000000..9f52d0d --- /dev/null +++ b/app/boards/shields/clueboard_california/clueboard_california.overlay @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2020 Pete Johanson + * + * SPDX-License-Identifier: MIT + */ + +/ { +	chosen { +		zmk,kscan = &kscan0; +	}; + +	kscan0: kscan_0 { +		compatible = "zmk,kscan-gpio-direct"; + +		label = "KSCAN"; + +		input-gpios +			= <&gpioa 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> +			, <&gpioa 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> +			, <&gpioa 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> +			, <&gpiob 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> +			, <&gpiob 11 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> +			, <&gpiob 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> +			, <&gpioa 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> +			, <&gpioa 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> +			, <&gpiob 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> +			, <&gpiob 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> +			; + +	}; + +	// TODO: Per-key LED node(s) +}; +  | 
