Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mount_matrix): Update gyro matrices #220

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ source_devices:
name: i2c-BMI0160:00
mount_matrix:
x: [0, -1, 0]
y: [0, 0, -1]
z: [1, 0, 0]
y: [-1, 0, 0]
z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
4 changes: 2 additions & 2 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_2021.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ source_devices:
name: i2c-10EC5280:00
mount_matrix:
x: [0, -1, 0]
y: [0, 0, -1]
z: [1, 0, 0]
y: [-1, 0, 0]
z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
4 changes: 2 additions & 2 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_2s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ source_devices:
name: i2c-BMI0160:00
mount_matrix:
x: [0, -1, 0]
y: [0, 0, -1]
z: [1, 0, 0]
y: [-1, 0, 0]
z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
4 changes: 2 additions & 2 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_air.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ source_devices:
# name: i2c-BMI0160:00
# mount_matrix:
# x: [0, -1, 0]
# y: [0, 0, -1]
# z: [1, 0, 0]
# y: [-1, 0, 0]
# z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
6 changes: 6 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_air_1s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ source_devices:
- group: imu
iio:
name: i2c-BMI0160:00
mount_matrix:
# Tested on Air 1S 8840U
# TODO: Verify on 7840U
x: [0, -1, 0]
y: [-1, 0, 0]
z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
4 changes: 2 additions & 2 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_air_plus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ source_devices:
name: bmi323-imu
mount_matrix:
x: [0, -1, 0]
y: [0, 0, 1]
z: [-1, 0, 0]
y: [1, 0, 0]
z: [0, 0, 1]

# Optional configuration for the composite device
options:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ source_devices:
iio:
name: bmi323-imu
mount_matrix:
# TODO: Reverify on actual hardware
x: [0, -1, 0]
y: [0, 0, 1]
z: [-1, 0, 0]
y: [-1, 0, 0]
z: [0, 0, 1]

# Optional configuration for the composite device
options:
Expand Down
4 changes: 2 additions & 2 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_flip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ source_devices:
name: i2c-BMI0160:00
mount_matrix:
x: [0, -1, 0]
y: [0, 0, -1]
z: [1, 0, 0]
y: [-1, 0, 0]
z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
5 changes: 3 additions & 2 deletions rootfs/usr/share/inputplumber/devices/50-ayaneo_next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ source_devices:
iio:
name: i2c-BMI0160:00
mount_matrix:
# TODO: Reverify on actual hardware
x: [0, -1, 0]
y: [0, 0, -1]
z: [1, 0, 0]
y: [1, 0, 0]
z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
4 changes: 2 additions & 2 deletions rootfs/usr/share/inputplumber/devices/50-ayn_loki_max.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ source_devices:
name: i2c-BMI0160:00
mount_matrix:
x: [1, 0, 0]
y: [0, 0, -1]
z: [0, 1, 0]
y: [0, -1, 0]
z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ source_devices:
iio:
name: i2c-BMI0160:00
mount_matrix:
# TODO: Reverify on actual hardware
x: [1, 0, 0]
y: [0, 0, -1]
z: [0, 1, 0]
y: [0, 1, 0]
z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
5 changes: 3 additions & 2 deletions rootfs/usr/share/inputplumber/devices/50-ayn_loki_zero.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ source_devices:
# iio:
# name: i2c-BMI0160:00
# mount_matrix:
# # TODO: Reverify on actual hardware
# x: [1, 0, 0]
# y: [0, 0, -1]
# z: [0, 1, 0]
# y: [0, 1, 0]
# z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
6 changes: 6 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ source_devices:
- group: imu
iio:
name: i2c-BMI0160:00
mount_matrix:
# Tested on 6800U
# TODO: Verify on other models
x: [-1, 0, 0]
y: [0, -1, 0]
z: [0, 0, 1]

# Optional configuration for the composite device
options:
Expand Down
10 changes: 6 additions & 4 deletions rootfs/usr/share/inputplumber/devices/50-legion_go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,18 @@ source_devices:
# iio:
# name: accel_3d
# mount_matrix:
# # TODO: Reverify on actual hardware
# x: [0, 1, 0]
# y: [0, 0, -1]
# z: [-1, 0, 0]
# y: [-1, 0, 0]
# z: [0, 0, -1]
- group: imu
iio:
name: gyro_3d
mount_matrix:
# TODO: Reverify on actual hardware
x: [0, 1, 0]
y: [0, 0, -1]
z: [-1, 0, 0]
y: [-1, 0, 0]
z: [0, 0, -1]

# Block all evdev devices; mouse, touchpad, gamepad, keyboard
- group: gamepad
Expand Down
10 changes: 6 additions & 4 deletions rootfs/usr/share/inputplumber/devices/50-msi_claw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,18 @@ source_devices:
iio:
name: accel_3d
mount_matrix:
# TODO: Reverify on actual hardware
x: [0, 1, 0]
y: [0, 0, -1]
z: [-1, 0, 0]
y: [-1, 0, 0]
z: [0, 0, -1]
- group: imu
iio:
name: gyro_3d
mount_matrix:
# TODO: Reverify on actual hardware
x: [0, 1, 0]
y: [0, 0, -1]
z: [-1, 0, 0]
y: [-1, 0, 0]
z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
5 changes: 3 additions & 2 deletions rootfs/usr/share/inputplumber/devices/50-orangepi_neo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ source_devices:
iio:
name: i2c-BMI0260:00
mount_matrix:
# TODO: Reverify on actual hardware
x: [1, 0, 0]
y: [0, 0, -1]
z: [0, -1, 0]
y: [0, -1, 0]
z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
6 changes: 3 additions & 3 deletions rootfs/usr/share/inputplumber/devices/50-rog_ally.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ source_devices:
iio:
name: bmi323-imu
mount_matrix:
x: [-1, 0, 0]
y: [0, 0, -1]
z: [0, 1, 0]
x: [1, 0, 0]
y: [0, -1, 0]
z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
6 changes: 3 additions & 3 deletions rootfs/usr/share/inputplumber/devices/50-rog_ally_x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ source_devices:
iio:
name: bmi323-imu
mount_matrix:
x: [-1, 0, 0]
y: [0, 0, -1]
z: [0, 1, 0]
x: [1, 0, 0]
y: [0, -1, 0]
z: [0, 0, -1]

# Optional configuration for the composite device
options:
Expand Down
Loading