Control GPIO pins using USB
The FTDI USB controller is by far the easiest. Otherwise you need to have a microcontroller with USB peripheral and write firmware for it to look like USB peripheral of some sort like serial port to receive commands and set GPIO pins accordingly.