Ok first, arcade guns won't work with a PC.
Second, you need to know basics of a JAMMA arcade cabinet before the inside of your machine makes any sense. Refer to the FAQ (frequently asked questions) for advice.
If what you find there still doesn't make sense, refer to a website called PC2JAMMA. Just google it.