示例#1
0
async def swipe_to_rotate():
    from trezor.ui.swipe import Swipe, degrees

    swipe = await Swipe(absolute=True)
    ui.display.orientation(degrees(swipe))
示例#2
0
async def swipe_to_rotate():
    swipe = await Swipe(absolute=True)
    ui.display.orientation(degrees(swipe))