[PATCH 09/10] joy.cpl: Move dinput test tab logic to dinput.c.