I am aware that GamepadConnected and GamepadDisconnected exist, but is there any way to do the same checks for a mouse, or a keyboard for example?
Checking whether the player has a keyboard in a while task.wait(1) do loop, for example, using UserInputService.KeyboardEnabled works very well, but when I disconnect my keyboard, KeyboardEnabled will still return true.
Is there any way to accurately detect this very specific change? If so, please let me know if it is possible. I have tried using UserInputService.LastInputTypeChanged, but that also doesn’t work. I have tried looking for similar posts on here and this was the only one that I found.
There isnt a great way to do this, As UserInputService only detects things like VR, Keyboard, and Mouse when the client’s game is started: not continuously throughout the game
I don’t think it detects only when the client’s game is started, as I was able to detect it mid-game and it worked. I think that it only works once though. Do you know any other services or workarounds for this? Or is it not possible at the moment?