|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Various methods for checking keyboard input More...
Topics | |
| Event Handling | |
| Event-driven keyboard input mechanism | |
| Queue Monitoring | |
| Monitor queue for key press events. | |
| State Polling | |
| Frame-based polling for keyboard input | |
Various methods for checking keyboard input
There are 3 different ways to check for input with the keyboard API:
| Mechanism | Description |
|---|---|
| State Polling | Manual checks each key state every frame |
| Event Handling | Automatic callbacks upon key state changes |
| Queue Monitoring | Monitor for new key press events every frame |