forked from urob/zmk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3ee5f9
commit 2b7947e
Showing
10 changed files
with
530 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
app/drivers/zephyr/dts/bindings/sensor/cirque,pinnacle-common.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
properties: | ||
dr-gpios: | ||
type: phandle-array | ||
description: Data ready pin for the trackpad | ||
rotate-90: | ||
type: boolean | ||
sleep: | ||
type: boolean | ||
no-taps: | ||
type: boolean | ||
sensitivity: | ||
type: string | ||
enum: | ||
- 1x | ||
- 2x | ||
- 3x | ||
- 4x | ||
description: ADC attenuation (sensitivity) setting. |
6 changes: 6 additions & 0 deletions
6
app/drivers/zephyr/dts/bindings/sensor/cirque,pinnacle-i2c.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
description: | | ||
Sensor driver for the Cirque Pinnacle trackpad ASICs, using the I2C interface | ||
compatible: "cirque,pinnacle" | ||
|
||
include: ["i2c-device.yaml", "cirque,pinnacle-common.yaml"] |
6 changes: 6 additions & 0 deletions
6
app/drivers/zephyr/dts/bindings/sensor/cirque,pinnacle-spi.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
description: | | ||
Sensor driver for the Cirque Pinnacle trackpad ASICs, using the SPI interface | ||
compatible: "cirque,pinnacle" | ||
|
||
include: ["spi-device.yaml", "cirque,pinnacle-common.yaml"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Copyright (c) 2022 The ZMK Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
zephyr_library_amend() | ||
|
||
zephyr_library_sources_ifdef(CONFIG_INPUT_PINNACLE input_pinnacle.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Copyright (c) 2022 The ZMK Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
menuconfig INPUT_PINNACLE | ||
bool "Cirque Pinnacle trackpads" | ||
depends on GPIO | ||
depends on SPI || I2C | ||
depends on INPUT | ||
help | ||
Enable driver for Cirque Pinnacle trackpads |
Oops, something went wrong.