Skip to content
Snippets Groups Projects
Commit fea0923e authored by Robert Geislinger's avatar Robert Geislinger
Browse files

Update buttons.rst

parent 78fd5bee
No related branches found
No related tags found
No related merge requests found
Pipeline #3926 passed
...@@ -21,10 +21,10 @@ in your scripts. ...@@ -21,10 +21,10 @@ in your scripts.
if pressed != 0: if pressed != 0:
break break
if pressed & buttons.BOTTOM_LEFT != 0: if pressed && buttons.BOTTOM_LEFT != 0:
print("Left button pressed!") print("Left button pressed!")
if pressed & buttons.BOTTOM_RIGHT != 0: if pressed && buttons.BOTTOM_RIGHT != 0:
print("Right button pressed!") print("Right button pressed!")
.. py:function:: read(mask) .. py:function:: read(mask)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment