Skip to content

Commit

Permalink
Merge pull request #48 from uejji/inputplumber
Browse files Browse the repository at this point in the history
inputplumber 0.40.0
  • Loading branch information
fewtarius authored Dec 22, 2024
2 parents 23e607d + eec71e0 commit 43353f3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 346 deletions.
34 changes: 18 additions & 16 deletions PKGBUILD/inputplumber/002-enable-gyro-air_zero.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/rootfs/usr/share/inputplumber/devices/50-ayaneo_air.yaml b/rootfs/usr/share/inputplumber/devices/50-ayaneo_air.yaml
index 4abf518..c4851e6 100644
index daf8bfe..afa4326 100644
--- a/rootfs/usr/share/inputplumber/devices/50-ayaneo_air.yaml
+++ b/rootfs/usr/share/inputplumber/devices/50-ayaneo_air.yaml
@@ -35,13 +35,13 @@ source_devices:
Expand All @@ -11,40 +11,42 @@ index 4abf518..c4851e6 100644
- # name: i2c-BMI0160:00
- # mount_matrix:
- # x: [0, -1, 0]
- # y: [0, 0, -1]
- # z: [1, 0, 0]
+ - group: imu
- # y: [-1, 0, 0]
- # z: [0, 0, -1]
+ - group: imu #TODO:reenable after we switch from polling
+ iio:
+ 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]

# The target input device(s) that the virtual device profile can use
target_devices:
# Optional configuration for the composite device
options:
diff --git a/rootfs/usr/share/inputplumber/devices/50-ayn_loki_zero.yaml b/rootfs/usr/share/inputplumber/devices/50-ayn_loki_zero.yaml
index bb6b5be..045d1b3 100644
index 45e0c84..fff2658 100644
--- a/rootfs/usr/share/inputplumber/devices/50-ayn_loki_zero.yaml
+++ b/rootfs/usr/share/inputplumber/devices/50-ayn_loki_zero.yaml
@@ -32,13 +32,13 @@ source_devices:
@@ -32,14 +32,14 @@ source_devices:
name: AT Translated Set 2 keyboard
phys_path: isa0060/serio0/input0
handler: event*
- #- group: imu #TODO:reenable after we switch from polling
- # 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]
+ - group: imu
+ 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]

# The target input device(s) that the virtual device profile can use
target_devices:
# Optional configuration for the composite device
options:
326 changes: 0 additions & 326 deletions PKGBUILD/inputplumber/003-Update-mount_matrix.patch

This file was deleted.

Loading

0 comments on commit 43353f3

Please sign in to comment.