ZKeyboard State
Maintains the current state of pressed keyboard keys.
This class tracks which keys are currently pressed, similar to Unity's Input.GetKey(), Unreal's IsInputKeyDown(), or Godot's Input.is_action_pressed().
The state is automatically updated by the event system when keyboard events are processed during the game loop frame update phase. You should not manually update the state; instead, use isKeyPressed to query the current state of keys.