Recently, I played Rainbow Six Siege, but my skills are very poor. I thought that using the feet to lean in the game will be a good improvement. So I built a footrest with two buttons using an Arduino Micro to act like a virtual keyboard. And voila, game controller done!
Check out the following URL for more details (in spanish)