| 341 | } |
| 342 | |
| 343 | bool reshade::input::is_mouse_button_down(unsigned int button) const |
| 344 | { |
| 345 | assert(button < 5); |
| 346 | return is_key_down(VK_LBUTTON + button + (button < 2 ? 0 : 1)); // VK_CANCEL is being ignored by runtime |
| 347 | } |
| 348 | bool reshade::input::is_mouse_button_pressed(unsigned int button) const |
| 349 | { |
| 350 | assert(button < 5); |
no outgoing calls
no test coverage detected