We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a71cd7d commit 6166af5Copy full SHA for 6166af5
README.md
@@ -85,7 +85,7 @@ These events are triggered by using or pressing the touchpad on the PS4 controll
85
86
Reacting to an event would look like this:
87
88
-'''python
+```python
89
# If a button was pressed or released
90
if ev_type == 1:
91
@@ -94,7 +94,7 @@ Reacting to an event would look like this:
94
print("The X button was released")
95
elif code == 304 and value == 1:
96
print("The X button was pressed")
97
-'''
+```
98
99
This is assuming the events file has been opened and a while loop has been initiated (see main.py or tank.py).
100
0 commit comments