You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src_c/doc/mouse_doc.h
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
/* Auto generated file: with makeref.py . Docs go in docs/reST/ref/ . */
2
2
#defineDOC_MOUSE "pygame module to work with the mouse"
3
-
#defineDOC_MOUSE_GETPRESSED "get_pressed(num_buttons=3) -> (button1, button2, button3)\nget_pressed(num_buttons=5) -> (button1, button2, button3, button4, button5)\nget the state of the mouse buttons"
3
+
#defineDOC_MOUSE_GETPRESSED "get_pressed(num_buttons=3) -> (left_button, middle_button, right_button)\nget_pressed(num_buttons=5) -> (left_button, middle_button, right_button, x1_button, x2_button)\nget the state of the mouse buttons"
4
+
#defineDOC_MOUSE_GETJUSTPRESSED "get_just_pressed() -> (left_button, middle_button, right_button, x1_button, x2_button)\nget the most recently pressed buttons"
5
+
#defineDOC_MOUSE_GETJUSTRELEASED "get_just_released() -> (left_button, middle_button, right_button, x1_button, x2_button)\nget the most recently released buttons"
4
6
#defineDOC_MOUSE_GETPOS "get_pos() -> (x, y)\nget the mouse cursor position"
5
7
#defineDOC_MOUSE_GETREL "get_rel() -> (x, y)\nget the amount of mouse movement"
6
8
#defineDOC_MOUSE_SETPOS "set_pos([x, y], /) -> None\nset the mouse cursor position"
0 commit comments