Skip to content

Commit ba6711e

Browse files
uejjidanslcuongnphanaarron-leefewtarius
committed
fix(mount_matrix): Update mount_matrix
Update mount_matrix to match Steam Deck gyroscope output, per discussion with @pastaq Thanks to: @dansl and @cuongnphan for providing gyro data on Air 1S 7840U @aarron-lee for providing gyro data and testing on Win 4 6800U .bastardgoose on Discord for providing gyro data and testing on Ally X @fewtarius for providing gyro data on Loki Max and gyro data and testing on 2S on Flip KB @pastaq for providing gyro testing on Air, 2021 and Loki Max @winghugs for providing gyro testing on Air 1S 8840U Co-Authored-By: Dan Long <[email protected]> Co-Authored-By: cuongnphan <[email protected]> Co-Authored-By: Aarron Lee <[email protected]> Co-Authored-By: fewtarius <[email protected]> Co-Authored-By: Derek J. Clark <[email protected]> Co-Authored-By: Kin <[email protected]>
1 parent 65eb5fa commit ba6711e

11 files changed

+32
-20
lines changed

rootfs/usr/share/inputplumber/devices/50-ayaneo_2.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ source_devices:
4545
name: i2c-BMI0160:00
4646
mount_matrix:
4747
x: [0, -1, 0]
48-
y: [0, 0, -1]
49-
z: [1, 0, 0]
48+
y: [-1, 0, 0]
49+
z: [0, 0, -1]
5050

5151
# Optional configuration for the composite device
5252
options:

rootfs/usr/share/inputplumber/devices/50-ayaneo_2021.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ source_devices:
4949
name: i2c-10EC5280:00
5050
mount_matrix:
5151
x: [0, -1, 0]
52-
y: [0, 0, -1]
53-
z: [1, 0, 0]
52+
y: [-1, 0, 0]
53+
z: [0, 0, -1]
5454

5555
# Optional configuration for the composite device
5656
options:

rootfs/usr/share/inputplumber/devices/50-ayaneo_2s.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ source_devices:
4545
name: i2c-BMI0160:00
4646
mount_matrix:
4747
x: [0, -1, 0]
48-
y: [0, 0, -1]
49-
z: [1, 0, 0]
48+
y: [-1, 0, 0]
49+
z: [0, 0, -1]
5050

5151
# Optional configuration for the composite device
5252
options:

rootfs/usr/share/inputplumber/devices/50-ayaneo_air.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ source_devices:
4040
# name: i2c-BMI0160:00
4141
# mount_matrix:
4242
# x: [0, -1, 0]
43-
# y: [0, 0, -1]
44-
# z: [1, 0, 0]
43+
# y: [-1, 0, 0]
44+
# z: [0, 0, -1]
4545

4646
# Optional configuration for the composite device
4747
options:

rootfs/usr/share/inputplumber/devices/50-ayaneo_air_1s.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ source_devices:
4343
- group: imu
4444
iio:
4545
name: i2c-BMI0160:00
46+
mount_matrix:
47+
# Tested on Air 1S 8840U
48+
# TODO: Verify on 7840U
49+
x: [0, -1, 0]
50+
y: [-1, 0, 0]
51+
z: [0, 0, -1]
4652

4753
# Optional configuration for the composite device
4854
options:

rootfs/usr/share/inputplumber/devices/50-ayaneo_air_plus.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ source_devices:
5252
name: bmi323-imu
5353
mount_matrix:
5454
x: [0, -1, 0]
55-
y: [0, 0, 1]
56-
z: [-1, 0, 0]
55+
y: [1, 0, 0]
56+
z: [0, 0, 1]
5757

5858
# Optional configuration for the composite device
5959
options:

rootfs/usr/share/inputplumber/devices/50-ayaneo_flip.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ source_devices:
4545
name: i2c-BMI0160:00
4646
mount_matrix:
4747
x: [0, -1, 0]
48-
y: [0, 0, -1]
49-
z: [1, 0, 0]
48+
y: [-1, 0, 0]
49+
z: [0, 0, -1]
5050

5151
# Optional configuration for the composite device
5252
options:

rootfs/usr/share/inputplumber/devices/50-ayn_loki_max.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ source_devices:
3737
name: i2c-BMI0160:00
3838
mount_matrix:
3939
x: [1, 0, 0]
40-
y: [0, 0, -1]
41-
z: [0, 1, 0]
40+
y: [0, -1, 0]
41+
z: [0, 0, -1]
4242

4343
# Optional configuration for the composite device
4444
options:

rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ source_devices:
3535
- group: imu
3636
iio:
3737
name: i2c-BMI0160:00
38+
mount_matrix:
39+
# Tested on 6800U
40+
# TODO: Verify on other models
41+
x: [-1, 0, 0]
42+
y: [0, -1, 0]
43+
z: [0, 0, 1]
3844

3945
# Optional configuration for the composite device
4046
options:

rootfs/usr/share/inputplumber/devices/50-rog_ally.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ source_devices:
5050
iio:
5151
name: bmi323-imu
5252
mount_matrix:
53-
x: [-1, 0, 0]
54-
y: [0, 0, -1]
55-
z: [0, 1, 0]
53+
x: [1, 0, 0]
54+
y: [0, -1, 0]
55+
z: [0, 0, -1]
5656

5757
# Optional configuration for the composite device
5858
options:

0 commit comments

Comments
 (0)