USB Human Interface Device (HID)

For this HID assignment, I wanted to build a steering wheel for computer racing games. Almost all of the computer racing games uses left and right keys for steering and up key for gas with a few additional keys that varies for other purposes depending on the game. So I decided to map 4-5 keys from keyboard to my control surface using this keyboard library. I used tilt detection of an accelerometer’s x-axis value to control the steering and a few switches for gas and other functions.

Read More