///////////////////////////////////////////////////////
| 589 | { |
| 590 | //////////////////////////////////////////////////////////// |
| 591 | bool isKeyPressed(Keyboard::Key key) |
| 592 | { |
| 593 | const int virtualKey = sfKeyToVirtualKey(key); |
| 594 | return (GetAsyncKeyState(virtualKey) & 0x8000) != 0; |
| 595 | } |
| 596 | |
| 597 | |
| 598 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no test coverage detected