![usb joystick controller board layout usb joystick controller board layout](https://i0.wp.com/blog.tindie.com/wp-content/uploads/2018/06/joystick-board-connector.jpg)
This then makes the two switches at the front redundant, so why not add those as two extra buttons? The two slide switches on the front of the joystick are used to switch the throttle and POV hat on and off, so that you could choose which one you wanted to use.īecause there is no point for this restriction with USB, the converted joystick will be able to use both the throttle and POV hat at the same time. What’s interesting to note is that you can’t use the throttle and POV hat at the same time – you can only use one or neither. The 76H1571 is a 4-button joystick with a throttle and POV hat. The joystick I used for this project is an old IBM 76H1571, photographed below: However, the methods used will most probably be relevant to other compilers that can generate HID code. This project uses the mikroC v8 compiler. However, it is possible to modify the USB descriptor generated by mikroC so that it produces a specific USB HID device, like a keyboard, mouse, joystick or graphics tablet. When writing USB code using the mikroC compiler, the USB device produced is a generic HID device that can be used to transfer data to and from the PIC. One of the advantages of the mikroC compiler are the built USB HID libraries that make creating a USB HID device a doddle. This project focuses on the use of a USB PIC and the mikroC compiler to convert an old game port joystick to utilize USB. Luckily, there are several solutions on the market that can make implementing a USB device much easier. Unfortunately, USB is not a simple protocol and can be daunting to implement.
![usb joystick controller board layout usb joystick controller board layout](https://i.pinimg.com/originals/9f/b6/41/9fb6419b87c48832eb5cfd9745e11c49.jpg)
#Usb joystick controller board layout serial
With the phasing out of game, serial and parallel ports from modern computers and the ever increasing popularity of USB, it makes sense that hobbyists start getting to grips working with USB.