These changes allow the user of the extension to toggle which rotation directions to invert. Horizontal, vertical or inverting both directions at the same time is a possibility now.
The previous implementation only inverted the horizontal direction never the vertical. This would result in the possibility that a incorrectly mounted accelerometer would cause incorrect screen rotation when using this extension.
This has been tested on a Lenovo C340-14API using Fedora Silverblue 37.
These changes allow the user of the extension to toggle which rotation directions to invert. Horizontal, vertical or inverting both directions at the same time is a possibility now.
The previous implementation only inverted the horizontal direction never the vertical. This would result in the possibility that a incorrectly mounted accelerometer would cause incorrect screen rotation when using this extension.
This has been tested on a Lenovo C340-14API using Fedora Silverblue 37.
fixes #9