pmaports/device/community/device-shift-axolotl/81-libssc-shift-axolotl.rules
Dylan Van Assche 5684f6e5a8
device-shift-axolotl: add accelerometer mount matrix (MR 4050)
SHIFT6mq accelerometer is mounted differently than the screen,
adjust it with a mount matrix. This way, screen rotations follow
the actual screen rotation by the user.
2023-12-13 00:50:46 -08:00

4 lines
157 B
Text

# iio-sensor-proxy with libssc: accelerometer mount matrix
SUBSYSTEM=="misc", KERNEL=="fastrpc-*", ENV{ACCEL_MOUNT_MATRIX}+="-1, 0, 0; 0, -1, 0; 0, 0, -1"