Noodle icon indicating copy to clipboard operation
Noodle copied to clipboard

Noodle on iPad?

Open rpherman opened this issue 4 years ago • 8 comments

Noodle is great! Is there a way to bring support for the Apple Pencil for iPad Pros, or am I missing a trick? Thanks!

rpherman avatar Aug 30 '19 19:08 rpherman

I don't know what these are, is it like a mouse?

neauoire avatar Aug 30 '19 22:08 neauoire

An Apple iPad Pro as pictured here the digital Pencil. I can draw with Noodle on my PC and mouse, but I wanted to use my iPad Pro with the digital pencil, since I can control it better than a mouse.

rpherman avatar Aug 30 '19 22:08 rpherman

What happens when you draw on Noodle?

neauoire avatar Aug 31 '19 00:08 neauoire

Just tested out of curiosity (iPad Mini 5/Apple Pencil, Safari & Firefox), nothing happens. Same thing when touching the canvas/page.

When used on general web pages (or iOS apps not specifically tailored for the Pencil) it seems to me the Apple Pencil acts the same way as any (one-finger) touch.

But i know nothing about JS and mobile dev so i have no idea if it would require to manage specific touch events for mobile. Or manage the mouse events in another way...

// Aside: I would guess it would end up out of scope for this tool / or be a different thing. Stating the obvious but any mobile/iPad user would also need to use the app with a BT keyboard (although iPad Pro's and others have keyboard covers, it's not the most common use-case for mobile devices). Perhaps someone could make a mobile-friendly fork of Noodle and add something like a tiny strip-like mobile UI to replace the keyboard events/shortcuts...

ghostlevel avatar Sep 07 '19 04:09 ghostlevel

there is a mobile mode in devtools of chrome and firefox (higlighted): devtools-mobile

i was currently tinkering with it, but some code decided to loop forever..

gonna resume at some later time; will make a PR when it's ready

ghost avatar Sep 09 '19 00:09 ghost

Oh I didin't notice this issue before I created my PR for adding touch support. It should fix this issue. I didn't test on an iPad specifically, but it worked on my Asus Zenbook touch screen and my Pixel 2 screen.

If you want, you can test on your iPad here, which has my fix - http://tilde.town/~dustin/Noodle/

0xdstn avatar Sep 14 '19 04:09 0xdstn

@rpherman let me know if that works for you

neauoire avatar Sep 15 '19 02:09 neauoire

@neauoire, @rpherman, Tested on latest Noodle for a while tonight (iPad Mini 5 with Pencil), works for me here. Touch & Apple Pencil work. Every mode and shorcut work too except for CTRL-DEL/BACKSPACE and 'S' but i suppose it is expected.

ghostlevel avatar Sep 24 '19 01:09 ghostlevel