Every parts of modern computer system introduce unavoidable latency: monitor has ~50ms latency, bluetooth keyboard has ~70ms latency. Even the desktop compositor has latency (~10ms). Then you have another latency in the application layer, typically the slow text rendering stacks like GDI or Cairo (~50ms). It's basically impossible to escape them in a modern system these days.