pxt-arcade icon indicating copy to clipboard operation
pxt-arcade copied to clipboard

Acceleration events don't seem to fire?

Open chino opened this issue 4 years ago • 0 comments

Describe the bug Can't seem to get any "on" tilt, 2g/3g/shake, up/down events to fire either on web version nor pygamer. Also the "on light bright/dark" doesn't seem to fire.

I had to use input.setLightThreshold() through the js tab as there doesn't seem to be a block for it?

Perhaps I'm doing something wrong with all of this?

To Reproduce Steps to reproduce the behavior:

  1. Go to https://makecode.com/_2C3aDwWfXe0C
  2. Move mouse around over the demo
  3. Doesn't seem to trigger any events
  4. Same thing on a pygamer
  5. Covering the light sensor on pygamer does not fire the "on light bright/dark" either.

Expected behavior Events should fire?

Desktop (please complete the following information):

  • OS: Windows, PyGamer
  • Browser Chrome

chino avatar Aug 20 '20 07:08 chino