It's a 3 position SPDT switch that closes (on) when tilted. Made with 3 pieces of plastic, a washer, and three machine screws + nuts. I made this switch as a hack for a cheap r/c car controller, inspired by the wiimote controlled car.
I just realized, this can also double as a pedometer or a shake sensor
See the Hand Motion Controlled R/C Car Instructable