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