checkbox-dev team mailing list archive
-
checkbox-dev team
-
Mailing list archive
-
Message #00134
Question regarding the "get_available_rotations" method in xrandr.py
Hello,
I was trying to improve our rotation_test script.
When looking into the xrandr.py, there is a method called
get_available_rotations.
I'm not sure what's the output of it. (What is the "binary flag" stands for)
>From the comment:
"""Returns a binary flag that contains the supported rotations of the
hardware pipe"""
This is how I test it:
>>> import xrandr
>>> screen = xrandr.get_current_screen()
>>> screen.get_available_rotations()
63
It always dump 63, even on a rotation-disabled system.
Does anyone knows about it?
Thanks,
Sam
Follow ups