That's weird. This is my event.
I used "compare two variables" event. Never mind accelero blahblah, because it's just variables about options and calibrating.
Have a try to read sensor values. Add some text objects and set text as "touch.gamma" and "touch.beta" for every tick. Take a look at it and it will be helpful to fix your code. If the value doesn't change, then there's some problem in your device.