Problem description
Trying to listen to the "Orientation" sensor with -s flag, instead listens to "DeviceOrientation" sensor even though there's an exact match.
If listening with the -a flag, the "Orientation" sensor works as expected.
Steps to reproduce
Have both "Orientation" and "DeviceOrientation" sensors
run termux-sensor -s "Orientation"
Expected behavior
The "Orientation" sensor is used instead of "DeviceOrientation".
Additional information
termux-api application version: 0.50.1
termux-api package version (installed through apt): 0.57
Problem description Trying to listen to the "Orientation" sensor with -s flag, instead listens to "DeviceOrientation" sensor even though there's an exact match.
If listening with the -a flag, the "Orientation" sensor works as expected.
Steps to reproduce
termux-sensor -s "Orientation"
Expected behavior The "Orientation" sensor is used instead of "DeviceOrientation".
Additional information