This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- indent-tabs-mode: nil; tab-width: 4 -*- | |
"""Enable/disable tablet mode in a Crouton chroot based on lid angle.""" | |
import argparse | |
import logging | |
import logging.config | |
import math | |
import os |