Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

doubleClick.js 752B

12345678910111213141516171819202122
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. async function doubleClick() {
  4. if (!this.isW3C) {
  5. await this.moveTo();
  6. return this.positionDoubleClick();
  7. }
  8. return this.performActions([{
  9. type: 'pointer',
  10. id: 'pointer1',
  11. parameters: { pointerType: 'mouse' },
  12. actions: [
  13. { type: 'pointerMove', origin: this, x: 0, y: 0 },
  14. { type: 'pointerDown', button: 0 },
  15. { type: 'pointerUp', button: 0 },
  16. { type: 'pause', duration: 10 },
  17. { type: 'pointerDown', button: 0 },
  18. { type: 'pointerUp', button: 0 }
  19. ]
  20. }]);
  21. }
  22. exports.default = doubleClick;