Skip to content

Commit bf7bc39

Browse files
committed
fix for docs, the event is actually dash delimeted not underscore
1 parent 8c5d3e5 commit bf7bc39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programming/hardware-support/joystick-support.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The device that needs to be passed to this function can be obtained using
6060
:meth:`self.devices.get_devices() <.InputDeviceManager.get_devices>`, which will
6161
give you all devices of a given device class.
6262
After the device has been attached, you can catch events like for example,
63-
``"[prefix]_face_a"`` which will be thrown
63+
``"[prefix]-face_a"`` which will be thrown
6464
whenever the 'A' button on the device with the specified prefix is hit. As
6565
with keyboard support, there also is the '-up' postfix which can be added to
6666
catch the event which will be thrown when a previously pressed button is

0 commit comments

Comments
 (0)