Mar 2, 2022 1 0 How can I detect whether the system has a keyboard attached? On the GetRawInputDeviceList function Raymond Chen You can enumerate the input devices and see if there's a keyboard.