Quickstart
Cross Platform API
Platform Specific API
RotationWatcher
XYTransformer
Modules Content
Wiki
Bases: object
object
RotationWatcher class
Install the RotationWatcher package
None
Uninstall the RotationWatcher package
Setup rotation wacher server
server process
Start the RotationWatcher daemon thread
initial orientation
ow_callback –
Returns:
transform the coordinates (x, y) by orientation (upright <–> original)
Transform the coordinates upright –> original
tuple_xy – coordinates (x, y)
tuple_wh – screen width and height
orientation – orientation
transformed coordinates (x, y)
Transform the coordinates original –> upright