blob: fbeb0be4114706c6e75dce33a55711aee694a402 [file] [log] [blame]
# Copyright 2017 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 module defines the motor board interface.
For example, chameleon is a ChameleonBoard object.
- Get motor board:
motor = chameleon.get_motor_board
- Touch/Release actions:
class ButtonFunction(object):
"""Button functions that motor touch/release."""
CALL = 'Call'
HANG_UP = 'Hang Up'
MUTE = 'Mute'
VOL_UP = 'Vol Up'
VOL_DOWN = 'Vol Down'