| 326 | } |
| 327 | |
| 328 | unsigned int reshade::input::last_key_pressed() const |
| 329 | { |
| 330 | for (unsigned int i = VK_MBUTTON; i < ARRAYSIZE(_keys); i++) |
| 331 | if (is_key_pressed(i)) |
| 332 | return i; |
| 333 | return 0; |
| 334 | } |
| 335 | unsigned int reshade::input::last_key_released() const |
| 336 | { |
| 337 | for (unsigned int i = VK_MBUTTON; i < ARRAYSIZE(_keys); i++) |