Skip to content

Commit 16b9003

Browse files
committed
fix: Zephyr4.1
1 parent 092bb02 commit 16b9003

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

boards/shields/glove43tb/glove43tb_R.overlay

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@
2323
compatible = "zmk,input-listener";
2424
device = <&trackball>;
2525
input-processors = <
26-
&zip_xy_transform INPUT_TRANSFORM_XY_SWAP // X軸とY軸を入れ替え
2726
&zip_temp_layer 4 700 // オートマウスレイヤー(AML): トラックボール動作時に自動的にレイヤー4を有効化(700ms)
2827
>;
2928

3029
scroller {
3130
layers = <5>; // スクロールレイヤー
3231
input-processors = <
33-
&zip_xy_transform INPUT_TRANSFORM_XY_SWAP // X軸とY軸を入れ替え
3432
&zip_xy_to_scroll_mapper // XY移動でスクロール
3533
&zip_scroll_transform INPUT_TRANSFORM_X_INVERT // スクロールのX軸を反転
3634
&zip_scroll_scaler 1 16 // スクロール感度調整
@@ -74,8 +72,8 @@
7472
reg = <0>;
7573
spi-max-frequency = <2000000>;
7674
motion-gpios = <&gpio0 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
77-
zephyr,axis-x = <INPUT_REL_X>;
78-
zephyr,axis-y = <INPUT_REL_Y>;
75+
zephyr,axis-x = <INPUT_REL_Y>;
76+
zephyr,axis-y = <INPUT_REL_X>;
7977
invert-x; // マウス操作のX軸を反転
8078
res-cpi = <400>; // マウス感度
8179
};

0 commit comments

Comments
 (0)