Main Content

Overview:
This device allows you to utilise your head movement to trigger events in basically any video game. It works by tracking the motion of your head (or headset it that regard) and triggering keyboard-presses for certain movements. So your computer sees this device as a standard keyboard. Later I’m probably going to add joystick and gamepad support.

The most commonly used movement which I’ve found suitable here (it’s the reason I started this project in the first place) is leaning. In games like PUBG, Tom Clancy’s Rainbow Six Siege, Insurgency and many other you can lean left or right to peak around corners without giving the enemy a big target area. I’ve found it quite hard to press the commonly used “Q” & “E” buttons because my fingers were already occupied with standard movement (wasd) and crouching…

Modes:
The software implements “modes” to choose between setups (motions and keypresses) for different games. The setups mentioned in “overview” (left and right lean for “E” and “Q”) are already preprogrammed in mode 2. To switch between different modes you need at least one button on your Arduino (pin 14 is default for the mode button), but if you don’t feel like it, you can simply define your default mode in the code. (Set mode = 2 for the mentioned setup)

Getting started:
This project can easily be done in an afternoon. Most of the parts I’ve used aren’t neccessairy, you can get running with the Arduino, the sensor, some wire and a breadboard!

Alternatively to the Arduino Pro Micro you can use any Arduino with the ATmega32u4 controller, like the Leonardo for example. This controller is essential because it supports native USB. Otherwise it wont be able to act as a keyboard/joystick/gamepad.

Supplies:
Essentials:
Arduino Pro Micro
MPU6050 Breakout Board
Wire
Optional:
Proto PCB
Buttons & LEDs
Original qeMotion PCB (coming soon)
3D-printed parts”

Link to article