Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 808 Bytes

mouse_api.md

File metadata and controls

31 lines (24 loc) · 808 Bytes

mouse module API

The mouse module contains two tables containing values for all the keys you can press. The two tables are the following:

Values are accessed by their string key, i.e. mouse.button['left'] returns the value for the left mouse button.

action

Button string Description
release A button is released
press A button is pressed

button

Button string Description
left Left button
right Right button
middle Middle button
1 Button 1
2 Button 2
3 Button 3
4 Button 4
5 Button 5
6 Button 6
7 Button 7
8 Button 8