A hardware hacker who goes by the Twitter handle @r1ckp has made a Super Mario Bros. controller with a little Lego man. He used a Mario Lego figure, which was launched earlier this year as part of the Lego Super Mario toy set.
As per @r1ckp, the entire setup took about 4 hours to complete. He further said that he would be sharing the code in the future, allowing others to duplicate the hack and experiment with it.
You can see that @r1ckp tilts the Lego man forward and backward to move Mario’s character. With the right movements, Mario can shoot fireballs, jump, and go down the pipes.
All of this is the result of some amazing tech embedded in a Lego Mario figurine. The figure is equipped with an accelerometer, Bluetooth, color sensor, and a gyroscope to communicate with the toy’s digital elements.
@r1ckp says he merely intercepted the signals sent by Mario over Bluetooth and plugged them into the emulator’s controls. “The complicated stuff was figuring out the Bluetooth protocol. Then it’s just simulating keypresses at certain events.” he tweeted.
Let us know in the comments section below if you would like to have a controller like this.