Skip to content

Remove touchX, touchY from wiki #5501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 of 17 tasks
JaPrad opened this issue Dec 12, 2021 · 1 comment
Closed
2 of 17 tasks

Remove touchX, touchY from wiki #5501

JaPrad opened this issue Dec 12, 2021 · 1 comment
Labels

Comments

@JaPrad
Copy link

JaPrad commented Dec 12, 2021

Most appropriate sub-area of p5.js?

  • Accessibility (Web Accessibility)
  • Build tools and processes
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Friendly error system
  • Image
  • IO (Input/Output)
  • Localization
  • Math
  • Unit Testing
  • Typography
  • Utilities
  • WebGL
  • Other -Wiki

Details about the bug:

  • Web browser and version: Chrome 96.0.4664.93 (Official Build) (64-bit) (cohort: 96_win_93)
  • Operating System: Windows 10
  • Issue:
    touchX, touchY doesn't work and also doesn't exist in p5.js reference. However it is mentioned in the Mouse & touch interaction section of this page.

At the same time I notice mouseX, mouseY works fine with touch devices too. Hence I believe they're wrongly mentioned in the wiki/

  • Steps to reproduce this:

Using touchX in the editor

function touchStarted() {
 console.log(touchX)
  }

the console displays a reference error:
image

@JaPrad JaPrad added the Bug label Dec 12, 2021
@limzykenneth
Copy link
Member

Removed those references. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants