33 if (button_number >= 0 && button_number < num_mouse_buttons) {
34 return _buttons[button_number];
36 return ButtonHandle::none();
121 for (
int i = 0; i < num_mouse_buttons; ++i) {
122 if (
button == _buttons[i]) {
138 for (
int i = 0; i < num_mouse_buttons; ++i) {
139 sprintf(numstr,
"mouse%d", i + 1);
140 nassertv(strlen(numstr) < 20);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.