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