mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 09:37:25 +00:00
pybricks: remove non-EV3 APIs
This is the v2 branch which only supports EV3. Removing the extra APIs will prevent them from showing up when this library is used for code completion.
This commit is contained in:
@@ -155,40 +155,3 @@ class Button(_PybricksEnum):
|
||||
UP = 8
|
||||
BEACON = 8
|
||||
RIGHT_UP = 9
|
||||
|
||||
|
||||
class Axis(_PybricksEnum):
|
||||
"""Unit axes of a coordinate system.
|
||||
|
||||
.. data:: X
|
||||
.. data:: Y
|
||||
.. data:: Z
|
||||
|
||||
Some methods let you measure along all axes at once:
|
||||
|
||||
.. data:: ALL
|
||||
"""
|
||||
X = (1, 0, 0)
|
||||
Y = (0, 1, 0)
|
||||
Z = (0, 0, 1)
|
||||
ALL = None
|
||||
|
||||
|
||||
class Side(_PybricksEnum):
|
||||
"""Sides or face of a device such as a hub or a sensor. Such devices are
|
||||
usually shaped like a rectangular box with six of the following sides:
|
||||
|
||||
.. data:: TOP
|
||||
.. data:: BOTTOM
|
||||
.. data:: FRONT
|
||||
.. data:: BACK
|
||||
.. data:: LEFT
|
||||
.. data:: RIGHT
|
||||
"""
|
||||
|
||||
RIGHT = 6
|
||||
FRONT = 0
|
||||
TOP = 8
|
||||
LEFT = 4
|
||||
BACK = 5
|
||||
BOTTOM = 2
|
||||
|
||||
Reference in New Issue
Block a user