keyboard - How often do operating systems poll key inputs? -
is @ each screen refresh or when keys pressed (through interrupts etc.)?
that largely depends on device. there 3 generations of devices:
polling
character interrupts. each key press generates input.
programmed interrupts. device configurable generates interrupt when necessary. example, terminal devices support programming such user can enter string of characters (and edit characters) , there interrupt when user hits <return>.
Comments
Post a Comment