This is called the VR Gamegun, a PC Game gun. It is a type of input device that uses an electromagnetic transducer design with single etched beam structure utilizing the Coriolis effect to sense rotation in two axes simultaneously. With the Full Motion Tracking, you can just move the gun and it moves the mouse. Video after the jump.
[via Techeblog]