Drivers, probably. Valve did the heavy lifting with the Steam Controller and Steam Input. Other manufacturers don't have a controller abstraction layer they can integrate that into
Do you mean touchscreen? At least the ROG Ally and the GPD ones don't have touchpads. The only ones I could find were the Lenovo Legion and Steam Deck. Haven't seen any other handheld PC with a touchpad.