blob: 3c1b41b754ba11e7bff313c06369e6fec2ccf571 [file] [log] [blame]
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
""" This simple script returns the dimensions of a precalibrated device spec
in millimeters.
Usage: python lumpy.p
import sys
from touchbotII import Device
if __name__ == '__main__':
device = Device(sys.argv[1])
print 'Usage: %s device.p' % __file__
print device.DeviceHeight(), device.DeviceWidth()