Chosen Solution

I have a HP Spectre x360 - 13-4105dx. This is a convertible laptop. So when it is flipped into tablet mode, my assumption is that it disables the keyboard and touchpad. The keyboard and mouse was working before I did any work on the unit. This model had a cracked screen and so I replaced it with a new model. I disassembled the unit and removed the logic board from the case to get at the screen along with all the other components. Then I replaced the screen and put everything back. The mouse and keyboard work when in bios, but not in Windows 10. The HP support department suggested that Windows 10 should be refreshed but im not so sure that is going to fix the problem. Has anyone ever experienced this? Or does anyone have any idea when I could do to fix this? I removed and refreshed the sensor drivers in device manager, but that did not fix it. I searched windows for any tool that I could use to re-calibrate the drivers for the sensors for the convertible aspect of this modem but could not find anything.

The result on this was I needed to disable the integrated sensor. But so far no response from hp as to why this has to happen with a screen replacement. The Unit now does not detect and disable the keyboard and touch pad when the laptop is in tablet mode.

The accepted answer doesn’t actually fix the root of the issue. The problem is these models have a bad gyro/accelerometer chip. By removing the chip the laptop will no longer register any orientation data and the keyboard and mouse will always work in any position. This may have the side affect that HP was originally trying to avoid where you might now hit keys on the keyboard when it’s in tablet mode but better than not having a working keyboard at all when in laptop mode. To fix just remove U28 from the motherboard.

After some more research I found that you can disable the integrated sensor here - Device Manager > System Devices > Intel Integrated Sensor Solution - right click and disable computer. Then restart computer. After changing out my screen on an HP x360 now touchscreen, keyboard and mouse works.

After an EXTREMELY long search for one of my clients, I’ve managed to solve this issue and I hope this can work for you as well:In the new screen assembly I had bought to replace the broken screen, specifically the x360 models, they are supposed to have a chip INSIDE the screen at the top that the broken screen does have. Opening up the new screen carefully, I was able to see that no such chip existed and that there was a floating cable specifically for the chip. after transplanting the old chip into the new screen and plugging it all back in, the keyboard and touchpad were able to work as they should! I don’t have a clear explanation as to why the chips need to be with their original computer, but it seems like the only way to have the whole computer working correctly without disabling any drivers.I recommend caution opening up the new screen as they are glued and incorrectly opening it could damage it, but adding the chip in is a fairly simple process. I wish you all the best.