To uninstall xserver-xorg-input-joystick-dev just follow these instructions.
sudo apt-get remove xserver-xorg-input-joystick-dev
This will remove just the xserver-xorg-input-joystick-dev package itself.
sudo apt-get remove --auto-remove xserver-xorg-input-joystick-dev
This will remove the xserver-xorg-input-joystick-dev package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for xserver-xorg-input-joystick-dev then this will work.
sudo apt-get purge xserver-xorg-input-joystick-dev
Or similarly, like this xserver-xorg-input-joystick-dev
sudo apt-get purge --auto-remove xserver-xorg-input-joystick-dev
|Maintainer||Debian X Strike Force <firstname.lastname@example.org>|
|Description||X.Org X server -- joystick input driver (development headers) driver found in xserver-xorg-input-joystick. Non-developers likely have little use for this package.|