Difference between revisions of "GetMouseButtonPress"
no edit summary
imported>Haama (Added note on Messagebox usage) |
imported>Quetzilla |
||
Line 8: | Line 8: | ||
==Notes== | ==Notes== | ||
* Index starts at 0 for the first button, 1 for the second, etc. | * Index starts at 0 for the first button being pressed, 1 for the second, etc. | ||
* This function will return the scancode of a mouse button for the whole period it is held down, and not just the first frame. | * This function will return the scancode of a mouse button for the whole period it is held down, and not just the first frame. | ||
* If no mouse button are being held down, or if the id you give is greater than the number of mouse buttons being held down, this function will return 65535. | * If no mouse button are being held down, or if the id you give is greater than the number of mouse buttons being held down, this function will return 65535. |