> The hardest control to change from the phyiscal car to the emulator was the steering wheel. The emulator only supported two button presses, one to go right and the other to go left.
The N64, and every N64 emulator I've seen, all support analog input, which Mario Kart 64 uses for steering. I don't get this.
I'm one of the people who made this. This was actually a hackathon project so we didn't use the analog input and instead faked the keyboard presses to the emulator.
The car wasn't "hacked" they are reading the canbus and using that data as an input for the controls of a game that runs on a separate computer.
This isn't different than using a USB steering wheel and pedals setup.
It also requires no "hacking" just access to the canbus which can be accessed in most cars through an interface under the steering wheel or in the glovebox.
As long as your car is fairly new all the driver inputs will be transmitted over the canbus.
> We ended up solving the problem by not continously pushing the button down when turning. The further the wheel is turned to the left or right, the greater amount of time the button stays down and the further the car turns.
I'm a little confused at this statement. Does this mean they just had it tapping 'left' or 'right' instead of holding the button down initially?
I interpreted it to mean they used pulse-width modulation, varying the % of time the button was being pressed in relationship to how far the wheel was turned. It's the same trick used to control LED brightness, even though the light only has binary ON and OFF states.
I think the other way around. If I understand, it started holding the button, which oversteered. That didn't map onto tapping correctly, so that made a little snippet of code to tap.
Really cool idea. Only, there's no way I could sensibly use my car's steering wheel to control a game without having the engine running for the power steering... I couldn't make it out in the video, but wouldn't this also wear out the tires in less than no time (due to friction with the ground)?
The N64, and every N64 emulator I've seen, all support analog input, which Mario Kart 64 uses for steering. I don't get this.