| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include <windows.h> | ||
| 2 | #include "button_interface.h" | ||
| 3 | |||
| 4 | ✗ | void buttonInterface_init(void) | |
| 5 | { | ||
| 6 | // No initialization needed for Windows console | ||
| 7 | ✗ | } | |
| 8 | |||
| 9 | ✗ | boolean ButtonInterfaceIsButtonPressed(KeyCodes key) | |
| 10 | { | ||
| 11 | ✗ | return (GetAsyncKeyState(key) & 0x8000) != 0; | |
| 12 | } | ||
| 13 |