A native PreferredInput property and enum is being added to UserInputService. The existing PreferredInput module in RbxUtil should be modified to just use this value.
Thankfully, the new one has a nearly identical layout: KeyboardAndMouse, Touch, or Gamepad.