Skip to content

Commit 9d482ac

Browse files
committed
change track ball settings
1 parent b96214f commit 9d482ac

3 files changed

Lines changed: 1 addition & 53 deletions

File tree

boards/shields/split_ergo40pct/split_ergo40pct_right.conf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ CONFIG_PAW3222=y
1111
CONFIG_SENSOR=y
1212
CONFIG_SPI=y
1313

14-
# Azoteq IQS7211E Touch sensor
15-
CONFIG_IQS7211E=n
16-
17-
1814
# REQUIRED: Enable the acceleration module
1915
CONFIG_ZMK_INPUT_PROCESSOR_ACCELERATION=y
2016

@@ -24,4 +20,3 @@ CONFIG_INPUT_PROCESSOR_ACCEL_LEVEL_SIMPLE=y # Level 1: Simple
2420

2521
# Office Presets:
2622
CONFIG_INPUT_PROCESSOR_ACCEL_PRESET_OFFICE_OPTICAL=y # Optical mouse (800 DPI)
27-
# CONFIG_INPUT_PROCESSOR_ACCEL_PRESET_OFFICE_TRACKPAD=y # Trackpad (1000 DPI)

boards/shields/split_ergo40pct/split_ergo40pct_right.overlay

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,7 @@
5050
compatible = "zmk,input-listener";
5151
status = "okay";
5252
device = <&trackball>;
53-
input-processors = <&zip_xy_transform (INPUT_TRANSFORM_XY_SWAP | INPUT_TRANSFORM_X_INVERT)>;
54-
};
55-
56-
trackpad_listener: trackpad_listener {
57-
compatible = "zmk,input-listener";
58-
status = "disabled";
59-
device = <&trackpad>;
60-
input-processors = <&pointer_accel>;
53+
input-processors = <&pointer_accel>, <&zip_xy_transform (INPUT_TRANSFORM_XY_SWAP | INPUT_TRANSFORM_X_INVERT)>;
6154
};
6255

6356
};
@@ -120,43 +113,6 @@
120113
device = <&trackball>;
121114
};
122115

123-
// Track pad i2c settings
124-
125-
&pinctrl {
126-
i2c0_default: i2c0_default {
127-
group1 {
128-
psels = <NRF_PSEL(TWIM_SDA, 0, 12)>,
129-
<NRF_PSEL(TWIM_SCL, 1, 9)>;
130-
bias-pull-up;
131-
};
132-
};
133-
134-
i2c0_sleep: i2c0_sleep {
135-
group1 {
136-
psels = <NRF_PSEL(TWIM_SDA, 0, 12)>,
137-
<NRF_PSEL(TWIM_SCL, 1, 9)>;
138-
bias-pull-up;
139-
low-power-enable;
140-
};
141-
};
142-
};
143-
&i2c0 {
144-
status = "disabled";
145-
compatible = "nordic,nrf-twim";
146-
pinctrl-0 = <&i2c0_default>;
147-
pinctrl-1 = <&i2c0_sleep>;
148-
pinctrl-names = "default", "sleep";
149-
clock-frequency = <I2C_BITRATE_FAST>;
150-
zephyr,concat-buf-size = <32>;
151-
152-
trackpad: trackpad@56 {
153-
status = "disabled";
154-
compatible = "azoteq,iqs7211e";
155-
reg = <0x56>;
156-
irq-gpios = <&gpio0 13 GPIO_PULL_UP>;
157-
};
158-
};
159-
160116
// pointer acceleration
161117

162118
&pointer_accel {

config/west.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,5 @@ manifest:
1515
- name: zmk-driver-paw3222-alpha
1616
remote: nuovotaka
1717
revision: main
18-
- name: zmk-driver-iqs7211e-tp
19-
remote: nuovotaka
20-
revision: main
2118
self:
2219
path: config

0 commit comments

Comments
 (0)