xfree86: Split the working code of NIDR into new xf86NewInputDevice.
The xfree86 server previously hat NewInputDeviceRequest and InitInput, and both basically did the same thing. Reduce NIDR to parameter checking and use xf86NewInputDevice from both InitInput and NIDR to actually create the device. Signed-off-by: Peter Hutterer <email@example.com> Signed-off-by: Daniel Stone <firstname.lastname@example.org> Signed-off-by: Adam Jackson <email@example.com>
Showing with 83 additions and 95 deletions