How do keyboard shortcuts work?

خرید بک لینک

How do keyboard shortcuts work, what is the component of Windows that collects key presses and sends them off to applications to be processed? Is it similar to event listeners in Javascript?

A few cases:

  1. If I set a shortcut in an application, it works when that application is open and in the foreground. It often works when the application is minimized, but it will not work if the application has been minimized for "too long". I want to understand why this is. In particular, this happens with MSI Afterbuer profiles.

  2. Windows has a bug called "sticky keys" where it will produce something that resembles a catastrophic error with a startling tone and takes over focus if the Shift key is held for too long or if it's pressed too many times. Until this bug is manually disabled in Accessibility options (as it is foolishly enabled by default), this bug often strikes in-game when the Shift button is bound to crouching or walking. What component of Windows captures and manages these key press durations/iterations, and at what stage does it interrupt the flow from physical key press to the application? Does it cause microseconds/milliseconds of delay to process the sticky key interrupt?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 232 تاريخ: شنبه 12 تير 1395 ساعت: 7:54

صفحه بندی