Skip to content

Stage 4A: Implement VirtIO HID Input driver (Device ID 18) #163

Done

Description

@marcobuschini

Parent Epic: #157
Depends on: #159, #160

Summary

Implement a modular VirtIO HID Input driver for virtio-mmio devices with Device ID 18 to handle keyboard keycodes and mouse/tablet axis/button events.

Scope

  • Query VIRTIO_INPUT_CFG_* configuration and pre-populate/replenish eventq descriptor buffers with virtio_input_event payloads
  • Translate events into a clean internal kernel input abstraction/queue; keep any Linux evdev UAPI structs extern "C" with static_assert checks
  • Add host tests with simulated eventq completions and verify input events in QEMU

Verification

  • make all && make quality && make test-host
  • Verify keyboard/tablet input event delivery in QEMU

Metadata

Metadata

Assignees

Labels

stage-4-input

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions