Is a touchpad an input device or an output device?

It is an input device.