Accelerometer as user input?

Has anyone tried using the accelerometer (e.g. on an Edge 530) for user input? Is it accurate enough? I'm thinking of stuff like "tap the unit from the left/right to switch views" etc?