diff --git a/rootfs/usr/share/inputplumber/devices/50-ayaneo_2.yaml b/rootfs/usr/share/inputplumber/devices/50-ayaneo_2.yaml index 5d4e261..a68cbe8 100644 --- a/rootfs/usr/share/inputplumber/devices/50-ayaneo_2.yaml +++ b/rootfs/usr/share/inputplumber/devices/50-ayaneo_2.yaml @@ -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: diff --git a/rootfs/usr/share/inputplumber/devices/50-ayaneo_2021.yaml b/rootfs/usr/share/inputplumber/devices/50-ayaneo_2021.yaml index d7cf6e6..cd88fe3 100644 --- a/rootfs/usr/share/inputplumber/devices/50-ayaneo_2021.yaml +++ b/rootfs/usr/share/inputplumber/devices/50-ayaneo_2021.yaml @@ -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: diff --git a/rootfs/usr/share/inputplumber/devices/50-ayaneo_2s.yaml b/rootfs/usr/share/inputplumber/devices/50-ayaneo_2s.yaml index 04f5ec3..c4b245f 100644 --- a/rootfs/usr/share/inputplumber/devices/50-ayaneo_2s.yaml +++ b/rootfs/usr/share/inputplumber/devices/50-ayaneo_2s.yaml @@ -44,9 +44,11 @@ source_devices: iio: name: i2c-BMI0160:00 mount_matrix: - x: [0, -1, 0] - y: [0, 0, -1] - z: [1, 0, 0] + # Calculated from observed gyro output + # TODO: Verify updated matrix on actual hardware + x: [0, 1, 0] + y: [-1, 0, 0] + z: [0, 0, 1] # Optional configuration for the composite device options: diff --git a/rootfs/usr/share/inputplumber/devices/50-ayaneo_air.yaml b/rootfs/usr/share/inputplumber/devices/50-ayaneo_air.yaml index fd16747..daf8bfe 100644 --- a/rootfs/usr/share/inputplumber/devices/50-ayaneo_air.yaml +++ b/rootfs/usr/share/inputplumber/devices/50-ayaneo_air.yaml @@ -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: diff --git a/rootfs/usr/share/inputplumber/devices/50-ayaneo_air_1s.yaml b/rootfs/usr/share/inputplumber/devices/50-ayaneo_air_1s.yaml index 779ba5d..8a2598b 100644 --- a/rootfs/usr/share/inputplumber/devices/50-ayaneo_air_1s.yaml +++ b/rootfs/usr/share/inputplumber/devices/50-ayaneo_air_1s.yaml @@ -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: diff --git a/rootfs/usr/share/inputplumber/devices/50-ayaneo_air_plus.yaml b/rootfs/usr/share/inputplumber/devices/50-ayaneo_air_plus.yaml index 3c15719..4b5a02b 100644 --- a/rootfs/usr/share/inputplumber/devices/50-ayaneo_air_plus.yaml +++ b/rootfs/usr/share/inputplumber/devices/50-ayaneo_air_plus.yaml @@ -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: diff --git a/rootfs/usr/share/inputplumber/devices/50-ayaneo_flip.yaml b/rootfs/usr/share/inputplumber/devices/50-ayaneo_flip.yaml index 2882d9f..babfd2f 100644 --- a/rootfs/usr/share/inputplumber/devices/50-ayaneo_flip.yaml +++ b/rootfs/usr/share/inputplumber/devices/50-ayaneo_flip.yaml @@ -44,9 +44,11 @@ source_devices: iio: name: i2c-BMI0160:00 mount_matrix: - x: [0, -1, 0] - y: [0, 0, -1] - z: [1, 0, 0] + # Calculated from observed gyro output + # TODO: Verify updated matrix on actual hardware + x: [0, 1, 0] + y: [-1, 0, 0] + z: [0, 0, 1] # Optional configuration for the composite device options: diff --git a/rootfs/usr/share/inputplumber/devices/50-ayn_loki_max.yaml b/rootfs/usr/share/inputplumber/devices/50-ayn_loki_max.yaml index fed2735..01bfb19 100644 --- a/rootfs/usr/share/inputplumber/devices/50-ayn_loki_max.yaml +++ b/rootfs/usr/share/inputplumber/devices/50-ayn_loki_max.yaml @@ -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: diff --git a/rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml b/rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml index 866dc43..20cf87c 100644 --- a/rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml +++ b/rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml @@ -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: diff --git a/rootfs/usr/share/inputplumber/devices/50-rog_ally.yaml b/rootfs/usr/share/inputplumber/devices/50-rog_ally.yaml index d3106ab..8e9fbd6 100644 --- a/rootfs/usr/share/inputplumber/devices/50-rog_ally.yaml +++ b/rootfs/usr/share/inputplumber/devices/50-rog_ally.yaml @@ -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: diff --git a/rootfs/usr/share/inputplumber/devices/50-rog_ally_x.yaml b/rootfs/usr/share/inputplumber/devices/50-rog_ally_x.yaml index a80d292..8f5b2f7 100644 --- a/rootfs/usr/share/inputplumber/devices/50-rog_ally_x.yaml +++ b/rootfs/usr/share/inputplumber/devices/50-rog_ally_x.yaml @@ -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: