.. autoclass:: ev3dev2.button.Button
:members:
:inherited-members:
.. rubric:: Event handlers
These will be called when state of the corresponding button is changed:
.. py:data:: on_up
.. py:data:: on_down
.. py:data:: on_left
.. py:data:: on_right
.. py:data:: on_enter
.. py:data:: on_backspace
.. rubric:: Member functions and properties