Difference between revisions of "GetMouseButtonPress"
Jump to navigation
Jump to search
no edit summary
imported>Quetzilla |
imported>Quetzilla |
||
Line 9: | Line 9: | ||
==Notes== | ==Notes== | ||
* Index starts at 0 for the first button being pressed, 1 for the second, etc. | * Index starts at 0 for the first button being pressed, 1 for the second, etc. | ||
* This function will pick up mouse buttons disabled using [[DisableKey]]. | |||
* Scancodes for mouse buttons are the numbers 256 to 263, and also 264 and 265 to check for mouse wheel movement. | * Scancodes for mouse buttons are the numbers 256 to 263, and also 264 and 265 to check for mouse wheel movement. | ||
* 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. |