When Sp4 has been left idle, the Type Cover will stop working. However, you can still use the touch screen. To fix this, you must remove Type Cover and re-attach and it'll work. This has been tested on three different Surface Type Covers so must be a device issue.
I've updated HID Keyboard...